summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-04-29 13:42:48 (GMT)
committerInki Dae <daeinki@gmail.com>2016-05-10 14:11:40 (GMT)
commit3f4c8e5c286fa1be4d033f79c73242d5111c69d6 (patch)
tree09601463d951144ea673822f3b87cb467ac14bd1 /drivers/gpu/drm/exynos
parentb0bb3d0775224ef2ac6f0b68df353281a399d78e (diff)
downloadlinux-3f4c8e5c286fa1be4d033f79c73242d5111c69d6.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos5433_drm_decon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index cb6519b..737b8b3 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))