drm/exynos: add pm_runtime to HDMI
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 2 Nov 2015 11:39:18 +0000 (20:39 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:44 +0000 (22:22 +0900)
commitf28464c3320c8bc2bc4611c5a1578458c80588a2
treef8dc28591c589d666465bb30315e091b7ecfc3a2
parent613d3853c2aca6cfd990e8bd0b436833b6c76db6
drm/exynos: add pm_runtime to HDMI

Let pm_runtime handle the enabling/disabling of the device with proper
refcnt instead of rely on specific flags to track the enabled state.

Changelog v3:
- revive powered flag to keep current dpms mode

Changelog v2:
- Mofidy CONFIG_PM_SLEEP -> CONFIG_PM

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c