drm/exynos: add pm_runtime to FIMD
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 4 Sep 2015 20:15:49 +0000 (17:15 -0300)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:45 +0000 (22:22 +0900)
commit415719768fdb0999255780d76f4d2586de97f380
tree1c66fda4face3151807ef8311ec8848372c15145
parentccf034a9adb7aaca2ee8e5433f80191090f7d923
drm/exynos: add pm_runtime to FIMD

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

Chnagelog v3:
- Revive suspended varable to check the suspend status.

Changelog v2:
- Remove unnecessary changes which removed commit callback from decon drivers
  and 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/exynos_drm_fimd.c