freedreno/a6xx: Cleanup WFIs around RB_CCU_CNTL
This was only actually needed on the earliest a6xx (probably just a630?). Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30544>
This commit is contained in:
@@ -257,7 +257,6 @@ emit_setup(struct fd_batch *batch)
|
||||
FD6_INVALIDATE_CCU_DEPTH);
|
||||
|
||||
/* normal BLIT_OP_SCALE operation needs bypass RB_CCU_CNTL */
|
||||
OUT_WFI5(ring);
|
||||
fd6_emit_ccu_cntl<CHIP>(ring, screen, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -824,6 +824,8 @@ fd6_emit_ccu_cntl(struct fd_ringbuffer *ring, struct fd_screen *screen, bool gme
|
||||
);
|
||||
}
|
||||
} else {
|
||||
OUT_WFI5(ring); /* early a6xx (a630?) needed this */
|
||||
|
||||
OUT_REG(ring,
|
||||
RB_CCU_CNTL(
|
||||
CHIP,
|
||||
@@ -922,7 +924,6 @@ fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring)
|
||||
.concurrent_resolve = screen->info->a6xx.concurrent_resolve,
|
||||
)
|
||||
);
|
||||
OUT_WFI5(ring);
|
||||
}
|
||||
|
||||
fd6_emit_ccu_cntl<CHIP>(ring, screen, false);
|
||||
|
||||
@@ -1014,8 +1014,6 @@ emit_binning_pass(struct fd_batch *batch) assert_dt
|
||||
OUT_PKT7(ring, CP_SET_MODE, 1);
|
||||
OUT_RING(ring, 0x0);
|
||||
|
||||
OUT_WFI5(ring);
|
||||
|
||||
fd6_emit_ccu_cntl<CHIP>(ring, screen, true);
|
||||
}
|
||||
|
||||
@@ -1085,7 +1083,6 @@ fd6_emit_tile_init(struct fd_batch *batch) assert_dt
|
||||
OUT_PKT7(ring, CP_SKIP_IB2_ENABLE_LOCAL, 1);
|
||||
OUT_RING(ring, 0x1);
|
||||
|
||||
OUT_WFI5(ring);
|
||||
fd6_emit_ccu_cntl<CHIP>(ring, screen, true);
|
||||
|
||||
emit_zs<CHIP>(batch->ctx, ring, pfb->zsbuf, batch->gmem_state);
|
||||
@@ -1978,7 +1975,6 @@ fd6_emit_sysmem(struct fd_batch *batch)
|
||||
emit_sysmem_clears<CHIP>(batch, subpass);
|
||||
}
|
||||
|
||||
OUT_WFI5(ring);
|
||||
fd6_emit_ccu_cntl<CHIP>(ring, screen, false);
|
||||
|
||||
struct pipe_framebuffer_state *pfb = &batch->framebuffer;
|
||||
|
||||
Reference in New Issue
Block a user