summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2014-10-30 04:36:26 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-11-18 03:01:19 (GMT)
commitbc679b841028fe0aadda4e805075fc2ba026a85f (patch)
tree3aa462371403213431ca115dcacb5046bf9fd517
parent17467540497fd2add65afe47664dd8a648695b4e (diff)
downloadlinux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.zip
linux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.tar.gz
linux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.tar.bz2
drm/exynos: use irq_flags instead of triggering
The drm_handle_vblank should be called whenever be vsync, te interrupt means vsync on i80 interface. Change-Id: I620346fc78e02589b398a0aaee74a2eb60579720 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 6d11af8..8b3c7a4 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -1006,7 +1006,7 @@ static int fimd_te_handler(struct exynos_drm_manager *mgr)
spin_unlock_irqrestore(&ctx->win_updated_lock, flags);
- if (!atomic_read(&ctx->triggering))
+ if (test_bit(0, &ctx->irq_flags))
drm_handle_vblank(ctx->drm_dev, ctx->pipe);
return 0;