Selaa lähdekoodia

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>
Andrzej Hajda 9 vuotta sitten
vanhempi
commit
3d30ec54c9
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  1. 0 5
      drivers/gpu/drm/exynos/exynos5433_drm_decon.c

+ 0 - 5
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)