freedreno/a6xx: emit LRZ clear in sysmem too

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>
This commit is contained in:
Rob Clark 2020-02-01 13:57:12 -08:00 committed by Marge Bot
parent 6b605804ea
commit ae3e237db0
1 changed files with 3 additions and 0 deletions

View File

@ -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));