summaryrefslogtreecommitdiff
path: root/device.mk
diff options
context:
space:
mode:
authorBruno BELANYI <ambroisie@google.com>2023-04-06 15:19:48 +0000
committerBruno BELANYI <ambroisie@google.com>2023-04-27 08:06:38 +0000
commitcd581af95621ebdc458affc457c86585973cdef9 (patch)
treec40331b2aa7ee93edcd352bedffc7c7baf10b50a /device.mk
parentb7f7117728e721a03090ac1d260aee89943f2ae6 (diff)
downloadgs201-cd581af95621ebdc458affc457c86585973cdef9.tar.gz
Define mali configuration path explicitly
This avoids mali trying to read `/data/data/com.mali.testjava` for its debug config. Bug: 205779871 Bug: 264489188 Test: manual - reboot device and check the absence of AVC denials (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa5b1036db7f53d253d533cded53654974f773c2) Merged-In: Id168e9ce380eb6d3657a83e74ec8afd52bbd584e Change-Id: Id168e9ce380eb6d3657a83e74ec8afd52bbd584e
Diffstat (limited to 'device.mk')
-rw-r--r--device.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index e71b995..7bc4920 100644
--- a/device.mk
+++ b/device.mk
@@ -236,6 +236,8 @@ PRODUCT_VENDOR_PROPERTIES += \
# Mali Configuration Properties
# b/221255664 prevents setting PROTECTED_MAX_CORE_COUNT=2
PRODUCT_VENDOR_PROPERTIES += \
+ vendor.mali.platform.config=/vendor/etc/mali/platform.config \
+ vendor.mali.debug.config=/vendor/etc/mali/debug.config \
vendor.mali.base_protected_max_core_count=1 \
vendor.mali.base_protected_tls_max=67108864 \
vendor.mali.platform_agt_frequency_khz=24576