Module: Mesa
Branch: master
Commit: 9689407c54a1418ac3e7e664b995f6c80f86d4db
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9689407c54a1418ac3e7e664b995f6c80f86d4db

Author: Eric Anholt <[email protected]>
Date:   Wed Jul 17 12:56:12 2019 -0700

freedreno/a6xx: Drop the WFI in the program update stateobj.

Rob Clark thinks this was likely a workaround for our const buffer
update bugs, and now that it's passing tests, we should be able to
drop it.

renderdoc-traces results:

traces/android/clashofclans.rdc:  +6.1% +/-   1.1%
traces/android/candycrush.rdc:    +5.2% +/-   1.6%

Reviewed-by: Rob Clark <[email protected]>

---

 src/gallium/drivers/freedreno/a6xx/fd6_program.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_program.c 
b/src/gallium/drivers/freedreno/a6xx/fd6_program.c
index 76099177030..7714f569f96 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_program.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_program.c
@@ -263,8 +263,6 @@ setup_stateobj(struct fd_ringbuffer *ring, struct 
fd6_program_state *state,
        uint8_t psize_loc = ~0;
        int i, j;
 
-       OUT_WFI5(ring);
-
        static const struct ir3_shader_variant dummy_fs = {0};
        const struct ir3_shader_variant *vs = binning_pass ? state->bs : 
state->vs;
        const struct ir3_shader_variant *fs = binning_pass ? &dummy_fs : 
state->fs;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to