From e87b3c6248071d99a48377a4c70932a035bf84f9 Mon Sep 17 00:00:00 2001 From: Andrzej Hajda Date: Wed, 23 Mar 2016 14:15:17 +0100 Subject: [PATCH] drm/exynos/decon5433: reset decon on start Resetting IP at starting ensures that DECON will be in known state regardless of changes by bootloader. Signed-off-by: Andrzej Hajda Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index b289b217b503..bfb258135c74 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -396,6 +396,8 @@ static void decon_enable(struct exynos_drm_crtc *crtc) set_bit(BIT_CLKS_ENABLED, &ctx->flags); + decon_swreset(ctx); + /* if vblank was enabled status, enable it again. */ if (test_and_clear_bit(BIT_IRQS_ENABLED, &ctx->flags)) decon_enable_vblank(ctx->crtc); -- 2.39.5