OSDN Git Service

drm/exynos: fimd: remove unnecessary waiting vblank routine
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 1 Oct 2014 06:19:07 +0000 (15:19 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 24 Nov 2014 09:02:52 +0000 (18:02 +0900)
commitbd953de94393ef2a00e893aa948cc7c4cb190d00
tree1807d2bd116845a99b327ba4da75ee222139f6b6
parentdcb622aa882b1108c005ebf629014acbf22690e3
drm/exynos: fimd: remove unnecessary waiting vblank routine

The exynos_drm_crtc_dpms() waits until pended page flip
queue is empty, calls the drm_vblank_off() then calls
manager->ops->dpms() when mode is DRM_MODE_DPMS_OFF.
The fimd_dpms() is one of manager->ops->dpms()s and
finally calls fimd_window_suspend().
But there is no active window and vblank is already off
when it is called.
So addtional waiting vblank is not necessary any more.

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>
drivers/gpu/drm/exynos/exynos_drm_fimd.c