Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Andrzej Hajda and committed by
Inki Dae
3f4c8e5c b0bb3d07

+2 -1
+2 -1
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
··· 434 434 { 435 435 struct decon_context *ctx = crtc->ctx; 436 436 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)) 438 439 return; 439 440 440 441 if (test_and_clear_bit(BIT_WIN_UPDATED, &ctx->flags))