summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2014-10-24 03:05:38 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-11-18 03:01:05 (GMT)
commit42b3d02a59023ed43aa1038f1bea936986f800ed (patch)
tree114789ab8ba4b796e9ba7f075d8cf5e999203d7e
parent12b11fe1d0a5e3225df260f8b4e0c5228594d075 (diff)
downloadlinux-3.10-42b3d02a59023ed43aa1038f1bea936986f800ed.zip
linux-3.10-42b3d02a59023ed43aa1038f1bea936986f800ed.tar.gz
linux-3.10-42b3d02a59023ed43aa1038f1bea936986f800ed.tar.bz2
drm/exynos: fimd: handle finish pageflip at irq handler
In case of all modes, i80 and rgb modes, finish page flip request could be handled at irq handler after framedone. This patch is just for cleanup. Change-Id: Idb56e1932fbe7e085be0384eb35b68f699547d18 Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index ce4e25f..37583ae 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -1052,14 +1052,12 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id)
/* exit triggering mode */
atomic_set(&ctx->triggering, 0);
-
- drm_handle_vblank(ctx->drm_dev, ctx->pipe);
- exynos_drm_crtc_finish_pageflip(ctx->drm_dev, ctx->pipe);
} else {
drm_handle_vblank(ctx->drm_dev, ctx->pipe);
- exynos_drm_crtc_finish_pageflip(ctx->drm_dev, ctx->pipe);
}
+ exynos_drm_crtc_finish_pageflip(ctx->drm_dev, ctx->pipe);
+
/* set wait vsync event to zero and wake up queue. */
if (atomic_read(&ctx->wait_vsync_event)) {
atomic_set(&ctx->wait_vsync_event, 0);