From: Jonathan Marek Date: Fri, 13 Mar 2020 14:20:23 +0000 (-0400) Subject: freedreno/a6xx: set bypass RB_CCU_CNTL value for blitter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cca7c299804703e686a3b9f04a978a994871853a;p=mesa.git freedreno/a6xx: set bypass RB_CCU_CNTL value for blitter Part-of: --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c index 39e913bfbf7..d129183bfae 100644 --- 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