summaryrefslogtreecommitdiff
path: root/mali_pixel/Kbuild
diff options
context:
space:
mode:
authorErik Staats <estaats@google.com>2021-10-07 12:27:10 -0700
committerErik Staats <estaats@google.com>2021-10-08 20:59:58 +0000
commitc17de739ab8e96c26c61444041585b61801163bb (patch)
treead83b71993171876248592c91b9ace54b8118ad7 /mali_pixel/Kbuild
parent66f97185a17de026db3685d872fc924ede192bcd (diff)
downloadgpu-c17de739ab8e96c26c61444041585b61801163bb.tar.gz
Add stubbed protected memory allocator driver.
Bug: 194627754 Test: Verified that device boots fully and stubbed protected memory allocated driver is not available. Test: Added protected memory allocator driver to the device tree and validated that it's probed but not ready. Test: Test: See details in testing done comment in https://partner-android-review.googlesource.com/2064216 . Change-Id: I772360bb68d3429267efa567f1958041fb0a41fe
Diffstat (limited to 'mali_pixel/Kbuild')
-rw-r--r--mali_pixel/Kbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/mali_pixel/Kbuild b/mali_pixel/Kbuild
index b38d083..14aa628 100644
--- a/mali_pixel/Kbuild
+++ b/mali_pixel/Kbuild
@@ -23,6 +23,7 @@ src:=$(if $(patsubst /%,,$(src)),$(srctree)/$(src),$(src))
CONFIG_MALI_MEMORY_GROUP_MANAGER ?= m
CONFIG_MALI_PRIORITY_CONTROL_MANAGER ?= m
+CONFIG_MALI_PROTECTED_MEMORY_ALLOCATOR ?= m
CONFIG_MALI_PIXEL_STATS ?= m
mali_pixel-objs :=
@@ -40,6 +41,10 @@ ifeq ($(CONFIG_MALI_PRIORITY_CONTROL_MANAGER),m)
DEFINES += -DCONFIG_MALI_PRIORITY_CONTROL_MANAGER
mali_pixel-objs += priority_control_manager.o
endif
+ifeq ($(CONFIG_MALI_PROTECTED_MEMORY_ALLOCATOR),m)
+ DEFINES += -DCONFIG_MALI_PROTECTED_MEMORY_ALLOCATOR
+ mali_pixel-objs += protected_memory_allocator.o
+endif
# Use our defines when compiling, and include mali platform module headers
ccflags-y += $(DEFINES) -I$(src)/../common/include