This patchset adds some simple modeset suspend/resume helpers which probably most atomic drivers can use.
I have converted the cma helper drivers as part of my ongoing cma helper refactoring. Noralf. Changes since version 2: - drm_mode_config_helper_suspend(): Check suspend_state as we do on resume to catch unbalanced suspend/resume. (Stefan Agner) - fsl-dcu: Rebase on pending suspend/resume fixes: drm/fsl-dcu: avoid disabling pixel clock twice on suspend drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume() Changes since version 1: - Improve driver commit message (Liviu) - fsl-dcu: Fix build error: 'ret' undeclared Noralf Trønnes (6): drm/probe-helper: Fix drm_kms_helper_poll_enable() docs drm/modeset-helper: Add simple modeset suspend/resume helpers drm/arm/mali: Use drm_mode_config_helper_suspend/resume() drm/fsl-dcu: Use drm_mode_config_helper_suspend/resume() drm/tinydrm: Use drm_mode_config_helper_suspend/resume() drm/docs: Add todo entry for simple modeset suspend/resume Documentation/gpu/todo.rst | 14 +++-- drivers/gpu/drm/arm/malidp_drv.c | 24 ++------- drivers/gpu/drm/arm/malidp_drv.h | 1 - drivers/gpu/drm/drm_modeset_helper.c | 79 +++++++++++++++++++++++++++++ drivers/gpu/drm/drm_probe_helper.c | 3 +- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 25 +++------ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h | 1 - drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 67 ------------------------ drivers/gpu/drm/tinydrm/mi0283qt.c | 7 ++- include/drm/drm_mode_config.h | 9 ++++ include/drm/drm_modeset_helper.h | 3 ++ include/drm/tinydrm/tinydrm.h | 4 -- 12 files changed, 115 insertions(+), 122 deletions(-) -- 2.14.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel