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

(cherry picked from commit 5c92150482)
Merged-In: I9549304a70277e00202680885c596bec2dc21bcf
Change-Id: I6b59af08cc46b80226596fcbf8d764c565b71b0e
This commit is contained in:
Jörg Wagner 2022-12-27 14:18:42 +00:00
parent bd964b6726
commit 1707e8773e

View file

@ -243,6 +243,12 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.hardware.vulkan=mali
endif
# Mali Configuration Properties
# b/221255664 prevents setting PROTECTED_MAX_CORE_COUNT=2
PRODUCT_VENDOR_PROPERTIES += \
vendor.mali.base_protected_max_core_count=1 \
vendor.mali.base_protected_tls_max=67108864 \
vendor.mali.platform_agt_frequency_khz=24576
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \