drm/exynos/decon5433: do not protect window in plane disable
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 23 Mar 2016 13:15:18 +0000 (14:15 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 29 Apr 2016 16:04:19 +0000 (01:04 +0900)
decon_atomic_begin and decon_atomic_flush protects all windows already.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c

index bfb2581..a1452be 100644 (file)
@@ -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)