drm/exynos: add pm_runtime to DECON 7
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 2 Nov 2015 11:58:02 +0000 (20:58 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:47 +0000 (22:22 +0900)
commit681c801eb9f322873c67996720a138d534cb8ff9
tree8c7ef0aa0042af1120686d9e06ca72bf5340cda1
parentebf3fd403b79ba6561bd1a4bb5a7cacc99da08e5
drm/exynos: add pm_runtime to DECON 7

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 suspended to keep current dpms mode

Changelog v2:
- Modify 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/exynos7_drm_decon.c