summaryrefslogtreecommitdiff
path: root/mali_pixel/mali_pixel_mod.h
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/mali_pixel_mod.h
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/mali_pixel_mod.h')
-rw-r--r--mali_pixel/mali_pixel_mod.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mali_pixel/mali_pixel_mod.h b/mali_pixel/mali_pixel_mod.h
index 163fd99..3a43c9e 100644
--- a/mali_pixel/mali_pixel_mod.h
+++ b/mali_pixel/mali_pixel_mod.h
@@ -10,6 +10,10 @@ extern struct platform_driver memory_group_manager_driver;
extern struct platform_driver priority_control_manager_driver;
#endif
+#ifdef CONFIG_MALI_PROTECTED_MEMORY_ALLOCATOR
+extern struct platform_driver protected_memory_allocator_driver;
+#endif
+
#ifdef CONFIG_MALI_PIXEL_STATS
extern int mali_pixel_init_pixel_stats(void);
#endif