[PATCH v3 0/6] drm/: Add simple modeset suspend/resume helpers

Noralf Trønnes noralf at tronnes.org
Thu Nov 30 17:31:40 UTC 2017


Den 14.11.2017 22.25, skrev Noralf Trønnes:
> 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

Series applied to drm-misc except fsl-dcu for which I'm awating the
suspend/resume fixes in -rc1 to show up in drm-misc-next.
Thanks for reviewing!

Noralf.


>   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(-)
>



More information about the dri-devel mailing list