]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/exynos/decon5433: kill BIT_WIN_UPDATED flag
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 5 Apr 2017 07:28:35 +0000 (09:28 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 1 Jun 2017 07:21:38 +0000 (16:21 +0900)
The flag was used to trigger software update in TE IRQ handler only
if framebuffers were replaced. Since TE update is triggered always
when VBLANKs are enabled and after framebuffer replacement VBLANKs
are always enabled the flag becomes redundant.

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 2629a59fc7bb1d657de56f32a48400131daa7ea9..b81c12b1f85796002100f123729377a9b9e28c16 100644 (file)
@@ -48,7 +48,6 @@ static const char * const decon_clks_name[] = {
 };
 
 enum decon_flag_bits {
-       BIT_WIN_UPDATED,
        BIT_SUSPENDED
 };
 
@@ -428,9 +427,6 @@ static void decon_atomic_flush(struct exynos_drm_crtc *crtc)
 
        decon_set_bits(ctx, DECON_UPDATE, STANDALONE_UPDATE_F, ~0);
 
-       if (ctx->out_type & IFTYPE_I80)
-               set_bit(BIT_WIN_UPDATED, &ctx->flags);
-
        ctx->frame_id = decon_get_frame_count(ctx, true);
 
        exynos_crtc_handle_event(crtc);