Skip to content

Commit

Permalink
drm/exynos/decon5433: do not use unnecessary software trigger
Browse files Browse the repository at this point in the history
Software trigger should not be used if hardware trigger is configured.

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 May 10, 2016
1 parent b0bb3d0 commit 3f4c8e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/exynos/exynos5433_drm_decon.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ static void decon_te_irq_handler(struct exynos_drm_crtc *crtc)
{
struct decon_context *ctx = crtc->ctx;

if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags))
if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags) ||
(ctx->out_type & I80_HW_TRG))
return;

if (test_and_clear_bit(BIT_WIN_UPDATED, &ctx->flags))
Expand Down

0 comments on commit 3f4c8e5

Please sign in to comment.