Update Mali DDK to r40 : Sysprop configuration settings
Expose DDK's dynamic configuration options through the Android Sysprop
interface, following recommendations from Arm's Android Integration
Manual.
Bug: 261718474
Bug: 272740524 (backported)
(cherry picked from commit 9fe6786e12cfb95bc477d8d457504d616266dd57)
Merged-In: I4ebc1249cf2ce77014b683db068ed24c75e8a7b7
Change-Id: Ib749f858d23256a5dab82126092fbe4e922dcd51
diff --git a/device.mk b/device.mk
index 0e2850f..ab6bf28 100644
--- a/device.mk
+++ b/device.mk
@@ -205,6 +205,12 @@
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
debug.mali.disable_backend_affinity=true
+# Mali Configuration Properties
+PRODUCT_VENDOR_PROPERTIES += \
+ vendor.mali.base_protected_max_core_count=3 \
+ vendor.mali.base_protected_tls_max=67108864 \
+ vendor.mali.platform_agt_frequency_khz=24576
+
ifeq ($(USE_SWIFTSHADER),true)
PRODUCT_PACKAGES += \
libGLESv1_CM_swiftshader \