freedreno/a6xx: remove some left over dead code
authorRob Clark <robdclark@chromium.org>
Thu, 24 Oct 2019 21:22:09 +0000 (14:22 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 29 Oct 2019 16:19:27 +0000 (09:19 -0700)
These registers don't exist, just remnants of initial port from a5xx.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c

index 065f0728dc0ca0a3a5dff882390cdbfb5793f98f..be8ea063812675a9187b9108dfebe8bdd41293f5 100644 (file)
@@ -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);