diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-01-17 17:15:19 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-01-20 10:02:28 +0300 |
commit | 1202a096328ed3de59e2a722038c4d80ec59a958 (patch) | |
tree | 4e109ea581b8454140180ca46b60ab649adb5abc /drivers | |
parent | 4151e9a61c26bc86a356edfea713c0f913582760 (diff) | |
download | linux-1202a096328ed3de59e2a722038c4d80ec59a958.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 |
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); |