drm/exynos/decon5433: fix CMU programming
authorAndrzej Hajda <[email protected]>
Tue, 17 Jan 2017 14:15:19 +0000 (15:15 +0100)
committerInki Dae <[email protected]>
Fri, 20 Jan 2017 07:02:28 +0000 (16:02 +0900)
DECON_CMU register has reserved bits which should not be zeroed, otherwise
IP can behave strangely and cause IOMMU faults.

Signed-off-by: Andrzej Hajda <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c

index d4920091e35cd13575df2a9224cd2789731f3070..3a9aca1c62f90490534932162b997e7cbe362a13 100644 (file)
@@ -142,10 +142,6 @@ static void decon_commit(struct exynos_drm_crtc *crtc)
                m->crtc_vsync_end = m->crtc_vsync_start + 1;
        }
 
-       /* enable clock gate */
-       val = CMU_CLKGAGE_MODE_SFR_F | CMU_CLKGAGE_MODE_MEM_F;
-       writel(val, ctx->addr + DECON_CMU);
-
        if (ctx->out_type & (IFTYPE_I80 | I80_HW_TRG))
                decon_setup_trigger(ctx);