freedreno/a6xx: WFI in program stateobj too
authorRob Clark <robdclark@chromium.org>
Fri, 17 May 2019 04:04:29 +0000 (21:04 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 20 May 2019 16:10:12 +0000 (09:10 -0700)
commit9f61aa3f7534ca06b8b59a03249f51492bc80b2c
treece93f3d74da65e6934f070b8fca3c826686c6fd8
parentabfb31acdb673083296d010dfc6920992369989c
freedreno/a6xx: WFI in program stateobj too

This "fixes" hangs seen w/ various android games.  I think a similar
issue to with constant state, we need to avoid CP_LOAD_STATE until
previous draw completes.

It isn't entirely clear why blob doesn't need to do this, but it might
have a different way to accomplish the same thing.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_program.c