drm/exynos: Ensure suspended runtime PM state during system suspend
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 11 Jun 2018 12:25:00 +0000 (14:25 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 24 Jul 2018 07:28:53 +0000 (16:28 +0900)
commit7e915746de03e0e62d58491f22805cc5a80a581a
tree0c2ac87acd3df1e937b8a36d4457992c81f425ee
parentdc684af6fc8d3b9be7fda67e380e91bfdc773aa5
drm/exynos: Ensure suspended runtime PM state during system suspend

Add calls to pm_runtime_force_{suspend,resume} as SYSTEM_SLEEP_PM_OPS for
all drivers for the real Exynos DRM hardware modules. This ensures that
the resources will be released for the system PM suspend/resume cycle.
Exynos DRM core already takes care of suspending the whole display pipeline
before PM callbacks of the real devices are called.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_dp.c
drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_mic.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c