drm/exynos: Consolidate suspend/resume in drm_drv
authorSean Paul <seanpaul@chromium.org>
Fri, 25 Apr 2014 07:06:10 +0000 (16:06 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:35 +0000 (11:47 +0900)
commit15e683b59de75bbf4e83f97585f571b292a48ce8
tree98bac36f073d131cc56ca9730a8fadf4ff28b515
parentb33d109db1fa4c7213ca0d65287b583483c4ab7d
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