diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2014-10-23 15:56:21 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-10-23 20:18:54 -0700 |
commit | 6f93c3ba5fa38e655695ac351be5b0f4d438bff0 (patch) | |
tree | e67dd32623b2300ee9f360802dedae2cae453015 /drivers/gpu | |
parent | ca45a2ea8d51c3233bd61cae4933654d626f0c04 (diff) | |
download | linux-3.10-6f93c3ba5fa38e655695ac351be5b0f4d438bff0.tar.gz linux-3.10-6f93c3ba5fa38e655695ac351be5b0f4d438bff0.tar.bz2 linux-3.10-6f93c3ba5fa38e655695ac351be5b0f4d438bff0.zip |
drm/exynos: fimd: move handle vblank position in TE handler
For providing VBLANK information, drm_handle_vblank() should
be called properly, but it is blocked by wait_vsync_event
condition which is set by manager_ops->wait_for_vblank().
So moves it out from wait_vsync_event routine.
Change-Id: Id5fc56f65d582fd90ef261f50b302f12ef890353
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index e7cc2ab311a..7b3cd830cf2 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -1003,11 +1003,11 @@ static int fimd_te_handler(struct exynos_drm_manager *mgr) if (atomic_read(&ctx->wait_vsync_event)) { atomic_set(&ctx->wait_vsync_event, 0); wake_up(&ctx->wait_vsync_queue); - - if (!atomic_read(&ctx->triggering)) - drm_handle_vblank(ctx->drm_dev, ctx->pipe); } + if (!atomic_read(&ctx->triggering)) + drm_handle_vblank(ctx->drm_dev, ctx->pipe); + return 0; } |