Skip to content

Commit

Permalink
drm/exynos/decon5433: kill BIT_WIN_UPDATED flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrzej Hajda authored and Inki Dae committed Jun 1, 2017
1 parent 3643e75 commit a48ff50
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/exynos/exynos5433_drm_decon.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static const char * const decon_clks_name[] = {
};

enum decon_flag_bits {
BIT_WIN_UPDATED,
BIT_SUSPENDED
};

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a48ff50

Please sign in to comment.