Skip to content

Commit 3f4c8e5

Browse files
Andrzej Hajdadaeinki
authored andcommitted
drm/exynos/decon5433: do not use unnecessary software trigger
Software trigger should not be used if hardware trigger is configured. Signed-off-by: Andrzej Hajda <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent b0bb3d0 commit 3f4c8e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/exynos/exynos5433_drm_decon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ static void decon_te_irq_handler(struct exynos_drm_crtc *crtc)
434434
{
435435
struct decon_context *ctx = crtc->ctx;
436436

437-
if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags))
437+
if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags) ||
438+
(ctx->out_type & I80_HW_TRG))
438439
return;
439440

440441
if (test_and_clear_bit(BIT_WIN_UPDATED, &ctx->flags))

0 commit comments

Comments
 (0)