linux/drivers/gpu/drm/exynos
Marek Szyprowski dc684af6fc drm/exynos: Suspend/resume display pipeline as early/late as possible
In the current code, exynos_drm_suspend() function is called after all
real devices (CRTCs, Encoders, etc) are suspended, because Exynos DRM
virtual platform device is created as last device in the system (as
a part of DRM registration). None of the devices for real hardware
modules has its own system suspend/resume callbacks, so it doesn't
change any order of the executed code, but it has a side-effect:
runtime PM callbacks for real devices are not executed, because those
devices are considered by PM core as already suspended. This might
cause issues on boards with complex pipelines, where something
depends on the runtime PM state of the given device.

To ensure that exynos_drm_suspend() is called before any suspend
callback from the real devices, assign it to .prepare callback. Same
for exynos_drm_resume(), using .complete callback ensures that all
real devices have been resumed when calling it.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2018-07-24 16:28:47 +09:00
..
exynos7_drm_decon.c
exynos5433_drm_decon.c
exynos_dp.c
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dpi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
exynos_drm_drv.c drm/exynos: Suspend/resume display pipeline as early/late as possible 2018-07-24 16:28:47 +09:00
exynos_drm_drv.h drm/exynos: g2d: Convert to driver component API 2018-07-24 15:40:29 +09:00
exynos_drm_dsi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
exynos_drm_fb.c drm/exynos: Use common exynos_drm_gem_get()/put() functions for GEM lookup 2018-07-24 15:50:20 +09:00
exynos_drm_fb.h
exynos_drm_fbdev.c
exynos_drm_fbdev.h
exynos_drm_fimc.c
exynos_drm_fimd.c
exynos_drm_g2d.c drm/exynos: gem: Simplify access to exynos GEM objects 2018-07-24 15:46:46 +09:00
exynos_drm_g2d.h drm/exynos: g2d: Convert to driver component API 2018-07-24 15:40:29 +09:00
exynos_drm_gem.c drm/exynos: gem: Simplify access to exynos GEM objects 2018-07-24 15:46:46 +09:00
exynos_drm_gem.h drm/exynos: gem: Simplify access to exynos GEM objects 2018-07-24 15:46:46 +09:00
exynos_drm_gsc.c
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c drm/exynos: Use common exynos_drm_gem_get()/put() functions for GEM lookup 2018-07-24 15:50:20 +09:00
exynos_drm_ipp.h
exynos_drm_mic.c
exynos_drm_plane.c Fixups 2018-07-24 15:28:44 +09:00
exynos_drm_plane.h
exynos_drm_rotator.c
exynos_drm_scaler.c
exynos_drm_vidi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
exynos_drm_vidi.h
exynos_hdmi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
exynos_mixer.c
Kconfig
Makefile drm/exynos: g2d: Convert to driver component API 2018-07-24 15:40:29 +09:00
regs-decon7.h
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h