projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c05a5
)
freedreno/a6xx: set bypass RB_CCU_CNTL value for blitter
author
Jonathan Marek
<jonathan@marek.ca>
Fri, 13 Mar 2020 14:20:23 +0000
(10:20 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 9 Apr 2020 14:43:02 +0000
(14:43 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3783>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
index 39e913bfbf7106a9c4f849d8674f1ae09b485439..d129183bfae5d13390cf85431b273e0b8997fab6 100644
(file)
--- a/
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
+++ b/
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
@@
-157,6
+157,11
@@
emit_setup(struct fd_batch *batch)
fd6_event_write(batch, ring, PC_CCU_FLUSH_DEPTH_TS, true);
fd6_event_write(batch, ring, PC_CCU_INVALIDATE_COLOR, false);
fd6_event_write(batch, ring, PC_CCU_INVALIDATE_DEPTH, false);
+
+ /* normal BLIT_OP_SCALE operation needs bypass RB_CCU_CNTL */
+ OUT_WFI5(ring);
+ OUT_PKT4(ring, REG_A6XX_RB_CCU_CNTL, 1);
+ OUT_RING(ring, fd6_context(batch->ctx)->magic.RB_CCU_CNTL_bypass);
}
static uint32_t