drm/exynos: Untangle dpms a little
authorSean Paul <seanpaul@chromium.org>
Wed, 13 Feb 2013 19:52:26 +0000 (14:52 -0500)
committerChromeBot <chrome-bot@google.com>
Thu, 21 Feb 2013 19:24:18 +0000 (11:24 -0800)
commit92cfc143cc00d923b50c251445c7055aa10fd4c1
treea007e39405c29cc54ce7ef5684e4e3191dccbd52
parente868d0e941574596cb8d9a257e1a34c323ababaa
drm/exynos: Untangle dpms a little

This patch strives to simplify the various dpms paths. The overarching
goal is to not get into a situation where connector->dpms is out of
touch with the rest of the driver since that effectively disables
userspace control of the power. The patch also eliminates the duplicate
paths through crtc and encoder.

BUG=chromium-os:37797
TEST=Tested hotplug; idle suspend/resume; idle off/on; lid
     suspend/resume; powerd_suspend/resume. No regressions noted

Change-Id: I79376e07500633505eb0159edac9a4ed9054b0e4
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/43196
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_drm_connector.c
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_display.h
drivers/gpu/drm/exynos/exynos_drm_drv.c
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