drm/exynos: Consolidate suspend/resume in drm_drv
authorSean Paul <seanpaul@chromium.org>
Thu, 30 Jan 2014 21:19:27 +0000 (16:19 -0500)
committerInki Dae <daeinki@gmail.com>
Sun, 23 Mar 2014 15:36:36 +0000 (00:36 +0900)
commitaf65c804877078a58cb02cc0f2ce4198401402fc
tree1894a3b77ee5098bafe60f69694ca5d122a1be36
parenta43b933bcbbd6c7e2660b672a311345cea9524c1
drm/exynos: Consolidate suspend/resume in drm_drv

This patch removes all of the suspend/resume logic from the individual
drivers and consolidates it in drm_drv. This consolidation reduces the
number of functions which enable/disable the hardware to just one -- the
dpms callback. This ensures that we always power up/down in a consistent
manner.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c