From d853443a2ea307aca2625dc2e8e7fa1942a34e5d Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Mon, 17 Jun 2024 19:45:42 +0200 Subject: [PATCH] freedreno/devices: Turn off enable_tp_ubwc_flag_hint for a740 by default Most devices with a740 have blob v6xx which doesn't have TP_UBWC_FLAG_HINT set. Match them for better compatibility by default. Signed-off-by: Danylo Piliaiev Part-of: --- src/freedreno/common/freedreno_devices.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/freedreno/common/freedreno_devices.py b/src/freedreno/common/freedreno_devices.py index 441a6b6ed73..74e7a56e3dc 100644 --- a/src/freedreno/common/freedreno_devices.py +++ b/src/freedreno/common/freedreno_devices.py @@ -822,7 +822,9 @@ a7xx_740 = A7XXProps( ubwc_unorm_snorm_int_compatible = True, supports_ibo_ubwc = True, fs_must_have_non_zero_constlen_quirk = True, - enable_tp_ubwc_flag_hint = True, + # Most devices with a740 have blob v6xx which doesn't have + # this hint set. Match them for better compatibility by default. + enable_tp_ubwc_flag_hint = False, ) a7xx_740_a32 = A7XXProps( @@ -832,7 +834,7 @@ a7xx_740_a32 = A7XXProps( ubwc_unorm_snorm_int_compatible = True, supports_ibo_ubwc = True, fs_must_have_non_zero_constlen_quirk = True, - enable_tp_ubwc_flag_hint = True, + enable_tp_ubwc_flag_hint = False, ) a7xx_750 = A7XXProps(