summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-03-23 14:15:18 +0100
committerInki Dae <daeinki@gmail.com>2016-04-30 01:04:19 +0900
commit3d30ec54c928c5920ddf13fbbd677d7c76b8cb53 (patch)
treef58b3bd326fd00e374d84cfa8860b32433d3d8e0 /drivers/gpu/drm/exynos/exynos5433_drm_decon.c
parente87b3c6248071d99a48377a4c70932a035bf84f9 (diff)
downloadlinux-3d30ec54c928c5920ddf13fbbd677d7c76b8cb53.tar.bz2
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 <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos5433_drm_decon.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos5433_drm_decon.c5
1 files changed, 0 insertions, 5 deletions
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)