summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2017-01-17 15:15:19 +0100
committerInki Dae <inki.dae@samsung.com>2017-01-20 16:02:28 +0900
commit1202a096328ed3de59e2a722038c4d80ec59a958 (patch)
tree4e109ea581b8454140180ca46b60ab649adb5abc
parent4151e9a61c26bc86a356edfea713c0f913582760 (diff)
downloadlinux-stable-1202a096328ed3de59e2a722038c4d80ec59a958.tar.gz
linux-stable-1202a096328ed3de59e2a722038c4d80ec59a958.tar.bz2
linux-stable-1202a096328ed3de59e2a722038c4d80ec59a958.zip
drm/exynos/decon5433: fix CMU programming
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 <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos5433_drm_decon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index d4920091e35c..3a9aca1c62f9 100644
--- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
+++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
@@ -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);