projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b60580
)
freedreno/a6xx: emit LRZ clear in sysmem too
author
Rob Clark
<robdclark@chromium.org>
Sat, 1 Feb 2020 21:57:12 +0000
(13:57 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 28 Feb 2020 16:53:40 +0000
(16:53 +0000)
Fixes rendering issues in manhattan with FD_MESA_DEBUG=nogmem
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
index c4c92d93cbaf89a2d77c80ad39d4da8be805bd6c..5ffcab6dbe7e51e2e5eb9a317257fb92cfda6771 100644
(file)
--- a/
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
+++ b/
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
@@
-1471,6
+1471,9
@@
fd6_emit_sysmem_prep(struct fd_batch *batch)
fd6_emit_lrz_flush(ring);
+ if (batch->lrz_clear)
+ fd6_emit_ib(ring, batch->lrz_clear);
+
emit_marker6(ring, 7);
OUT_PKT7(ring, CP_SET_MARKER, 1);
OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_BYPASS));