From: Andrzej Hajda Date: Wed, 23 Mar 2016 13:15:17 +0000 (+0100) Subject: drm/exynos/decon5433: reset decon on start X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e87b3c6248071d99a48377a4c70932a035bf84f9;p=linux-beck.git 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 --- 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);