diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2014-10-30 13:36:26 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:01:19 +0900 |
commit | bc679b841028fe0aadda4e805075fc2ba026a85f (patch) | |
tree | 3aa462371403213431ca115dcacb5046bf9fd517 | |
parent | 17467540497fd2add65afe47664dd8a648695b4e (diff) | |
download | linux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.tar.gz linux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.tar.bz2 linux-3.10-bc679b841028fe0aadda4e805075fc2ba026a85f.zip |
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.c | 2 |
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 6d11af8924a..8b3c7a43447 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; |