From: Andrzej Hajda Date: Fri, 29 Apr 2016 13:42:48 +0000 (+0200) Subject: drm/exynos/decon5433: do not use unnecessary software trigger X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f4c8e5c286fa1be4d033f79c73242d5111c69d6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index cb6519b49f23..737b8b3ad350 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -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))