freedreno/a6xx: WFI before RB_CCU_CNTL writes
authorRob Clark <robdclark@chromium.org>
Thu, 6 Jun 2019 17:19:07 +0000 (10:19 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 19:07:29 +0000 (12:07 -0700)
commit1d002cfade6d5fa912bb7bfd98291bf39b3346a9
tree16ef851ea0e886093c6f15716c2f981159f90d26
parent8a02ca807de419d79dbe2555ec11104436dbbe01
freedreno/a6xx: WFI before RB_CCU_CNTL writes

This seems to be in a block of non buffered/context regs.  Blob always
WFIs before write, so probably a good idea.

Annoyingly, compared to ealier gens, it is a bit harder to tell from the
register offset whether it is a buffered reg, it isn't as simple as
everything below 0x2000, it seems.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.c