From: Andrzej Hajda Date: Wed, 23 Mar 2016 13:15:18 +0000 (+0100) Subject: drm/exynos/decon5433: do not protect window in plane disable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d30ec54c928c5920ddf13fbbd677d7c76b8cb53;p=linux-beck.git drm/exynos/decon5433: do not protect window in plane disable decon_atomic_begin and decon_atomic_flush protects all windows already. 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 bfb258135c74..a1452be6df09 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -325,12 +325,7 @@ static void decon_disable_plane(struct exynos_drm_crtc *crtc, if (test_bit(BIT_SUSPENDED, &ctx->flags)) return; - decon_shadow_protect_win(ctx, win, true); - - /* window disable */ decon_set_bits(ctx, DECON_WINCONx(win), WINCONx_ENWIN_F, 0); - - decon_shadow_protect_win(ctx, win, false); } static void decon_atomic_flush(struct exynos_drm_crtc *crtc)