Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1202a096 authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Inki Dae
Browse files

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: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 4151e9a6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);