Skip to content

Commit

Permalink
drm/exynos/decon5433: do not protect window in plane disable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrzej Hajda authored and Inki Dae committed Apr 29, 2016
1 parent e87b3c6 commit 3d30ec5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/gpu/drm/exynos/exynos5433_drm_decon.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 3d30ec5

Please sign in to comment.