From 4618cbe15c617009e334fae33e789484df555e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Wagner?= Date: Wed, 10 Jul 2024 13:18:27 +0000 Subject: [PATCH] Increase the max core index for protected TLS allocations to 4 Pixel has removed unnecessary allocation padding, and we now pass dEQP with a maximum physical core index setting of 4, which allows the driver to utilize 2 GPU cores (1001b) in the extreme tests. Bug: 221255664 Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*' Flag: EXEMPT bugfix Change-Id: Ie4f0b6427bc3cfbb6ab1e8b11910c88dab76eb9a --- device.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/device.mk b/device.mk index 3a7085f..194dbf2 100644 --- a/device.mk +++ b/device.mk @@ -357,11 +357,10 @@ endif PRODUCT_VENDOR_PROPERTIES += ro.surface_flinger.prime_shader_cache.ultrahdr=1 # 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_max_core_count=4 \ vendor.mali.base_protected_tls_max=67108864 \ vendor.mali.platform_agt_frequency_khz=24576