Module: Mesa
Branch: main
Commit: 88ca89bea927c8c51c0b3b5d057791ddcbf6fe62
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ca89bea927c8c51c0b3b5d057791ddcbf6fe62

Author: Alejandro PiƱeiro <[email protected]>
Date:   Wed May 24 11:58:51 2023 +0200

broadcom/compiler: disable tmu pipelining when needed

disable_tmu_pipelining has been recently set to false on two
strategies that should set it to true.

Fixes the following CTS test:
dEQP-VK.graphicsfuzz.spv-stable-maze-flatten-copy-composite

Fixes: c950098ab - broadcom/compiler: move buffer loads to lower register 
pressure

Reviewed-by: Iago Toral Quiroga <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23207>

---

 src/broadcom/compiler/vir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c
index 0452cf4a8ad..f32325bbf50 100644
--- a/src/broadcom/compiler/vir.c
+++ b/src/broadcom/compiler/vir.c
@@ -1726,8 +1726,8 @@ static const struct v3d_compiler_strategy strategies[] = {
         /*8*/  { "disable gcm (2t)",               2, 1, true,  true,  false, 
false, false, false, -1 },
         /*9*/  { "disable loop unrolling (2t)",    2, 1, true,  true,  true,  
false, false, false, -1 },
         /*10*/ { "Move buffer loads (2t)",         2, 1, true,  true,  true,  
true,  true,  false, -1 },
-        /*11*/ { "disable TMU pipelining (2t)",    2, 1, true,  true,  true,  
true,  true,  false, -1 },
-        /*12*/ { "fallback scheduler",             2, 1, true,  true,  true,  
true,  true,  false, -1 }
+        /*11*/ { "disable TMU pipelining (2t)",    2, 1, true,  true,  true,  
true,  true,  true,  -1 },
+        /*12*/ { "fallback scheduler",             2, 1, true,  true,  true,  
true,  true,  true,  -1 }
 };
 
 /**

Reply via email to