projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278679f
)
freedreno/a5xx: fix missing restore state
author
Rob Clark
<robdclark@gmail.com>
Mon, 2 Oct 2017 16:22:11 +0000
(12:22 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 2 Oct 2017 17:17:15 +0000
(13:17 -0400)
RB_CLEAR_CNTL seems to be in a funny state after boot (at least on
8x96/a530).
Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
index eeddef52ae31a925b4e13a302d3a6ea18e0a5a59..21931e9dfbee23d62d6c98c2bd4521d92ce882c9 100644
(file)
--- 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