summaryrefslogtreecommitdiff
path: root/mali_pixel/Kbuild
diff options
context:
space:
mode:
authorErik Staats <estaats@google.com>2021-11-23 07:03:28 -0800
committerErik Staats <estaats@google.com>2021-11-30 22:46:52 +0000
commita204033deaaa98322b63e5f60927789d48092afa (patch)
treec094a2692550558654e8b67cd09df217d4b1ebe6 /mali_pixel/Kbuild
parente9ea9c8d4c8cffa826c55f283742e59fe3d81449 (diff)
downloadgpu-a204033deaaa98322b63e5f60927789d48092afa.tar.gz
Implement Mali Pixel protected memory allocation.
Bug: 194627754 Test: Verified that a GPU protected memory test can pass. It sometimes fails with a GPU fault. Test: See details in testing done comment in https://partner-android-review.googlesource.com/2102797 . Change-Id: I0723b94a68024c8977167a49b735d2ce1e3b11bc
Diffstat (limited to 'mali_pixel/Kbuild')
-rw-r--r--mali_pixel/Kbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/mali_pixel/Kbuild b/mali_pixel/Kbuild
index 14aa628..13c975e 100644
--- a/mali_pixel/Kbuild
+++ b/mali_pixel/Kbuild
@@ -47,7 +47,10 @@ ifeq ($(CONFIG_MALI_PROTECTED_MEMORY_ALLOCATOR),m)
endif
# Use our defines when compiling, and include mali platform module headers
-ccflags-y += $(DEFINES) -I$(src)/../common/include
+ccflags-y += \
+ $(DEFINES) \
+ -I$(src)/../common/include \
+ -I$(srctree)/include/linux
# Add kernel module target if any of our config options is enabled
ifneq ($(mali_pixel-objs),)