From: Eric Anholt Date: Wed, 17 Jul 2019 19:56:12 +0000 (-0700) Subject: freedreno/a6xx: Drop the WFI in the program update stateobj. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9689407c54a1418ac3e7e664b995f6c80f86d4db;p=mesa.git 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 --- 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;