drm/exynos: Consolidate suspend/resume
authorSean Paul <seanpaul@chromium.org>
Thu, 8 Nov 2012 14:26:21 +0000 (09:26 -0500)
committerGerrit <chrome-bot@google.com>
Tue, 13 Nov 2012 17:31:13 +0000 (09:31 -0800)
commit14630d217c01227c0995b4a1ba34b5fc3d76ac9e
tree3b520ef184458f101e93ca3af24a05da7bda9144
parentc885869c8d71bff4622b0aebe123a485a0190883
drm/exynos: Consolidate suspend/resume

Remove all of the pm_ops from the various platform devices and move to a
consolidated suspend/resume process from the drm driver. This allows us
to properly order operations when we suspend/resume. It also makes the
dpms tracking in exynos_drm_encoder meaningful.

BUG=None
TEST=Tested with/without hdmi & idle/lid suspend/resume. No regressions.

Change-Id: I25bab3843c87960416b1218a48c60c5124404aff
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/37642
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_drm_display.h
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_encoder.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c