From: Rob Clark Date: Thu, 24 Oct 2019 21:22:09 +0000 (-0700) Subject: freedreno/a6xx: remove some left over dead code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fdc259bfc49e429dff17983d944ca4e9c77981a;p=mesa.git freedreno/a6xx: remove some left over dead code These registers don't exist, just remnants of initial port from a5xx. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c index 065f0728dc0..be8ea063812 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c @@ -1463,16 +1463,6 @@ fd6_emit_sysmem_prep(struct fd_batch *batch) fd6_event_write(batch, ring, PC_CCU_INVALIDATE_COLOR, false); fd6_cache_inv(batch, ring); -#if 0 - OUT_PKT4(ring, REG_A6XX_PC_POWER_CNTL, 1); - OUT_RING(ring, 0x00000003); /* PC_POWER_CNTL */ -#endif - -#if 0 - OUT_PKT4(ring, REG_A6XX_VFD_POWER_CNTL, 1); - OUT_RING(ring, 0x00000003); /* VFD_POWER_CNTL */ -#endif - /* 0x10000000 for BYPASS.. 0x7c13c080 for GMEM: */ fd_wfi(batch, ring); OUT_PKT4(ring, REG_A6XX_RB_CCU_CNTL, 1);