diff options
author | Rob Clark <[email protected]> | 2017-10-02 12:22:11 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-10-02 13:17:15 -0400 |
commit | 7f3eab03fe041bc28900a02f7ae503920753ea6b (patch) | |
tree | 3c2e8729f9cddfe55539fc6d87dfc266f93e893f /src | |
parent | 278679f09a03f9c75048c065e29b09c1210f1e46 (diff) |
freedreno/a5xx: fix missing restore state
RB_CLEAR_CNTL seems to be in a funny state after boot (at least on
8x96/a530).
Cc: 17.2 <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c index eeddef52ae3..21931e9dfbe 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c @@ -1048,6 +1048,9 @@ t7 opcode: CP_WAIT_FOR_IDLE (26) (1 dwords) OUT_RING(ring, 0x00000000); OUT_RING(ring, 0x00000000); OUT_RING(ring, 0x00000000); + + OUT_PKT4(ring, REG_A5XX_RB_CLEAR_CNTL, 1); + OUT_RING(ring, 0x00000000); } static void |