Skip to content

drm/{i915, xe}: display (runtime) suspend/resume/shutdown unification, part 2

Jani Nikula intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/i915/display: add "pm" to intel_display_driver_{suspend, resume}() namesdrivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/display/intel_display_driver.h drivers/gpu/drm/i915/i915_driver.c +1 more+14 -130 replies
2/12drm/xe/display: rename xe_display_pm_shutdown*() to xe_display_shutdown*()drivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_device.c+10 -80 replies
3/12drm/xe/display: relocate the xe_display_shutdown*() functionsdrivers/gpu/drm/xe/display/xe_display.c+45 -450 replies
4/12drm/xe/display: relocate the xe_display_pm_runtime_*() functionsdrivers/gpu/drm/xe/display/xe_display.c+80 -800 replies
5/12drm/{i915, xe}: move more calls inside intel_display_driver_pm_suspend()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/xe/display/xe_display.c+13 -290 replies
6/12drm/{i915, xe}: move more calls inside intel_display_driver_pm_resume()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/xe/display/xe_display.c+19 -400 replies
7/12drm/{i915, xe}: add intel_display_driver_pm_{suspend_late, resume_early}()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/display/intel_display_driver.h drivers/gpu/drm/i915/i915_driver.c +1 more+23 -50 replies
8/12drm/{i915,xe}: add intel_display_driver_shutdown_late()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/display/intel_display_driver.h drivers/gpu/drm/i915/i915_driver.c +1 more+17 -110 replies
9/12drm/i915: add intel_display_driver_shutdown()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/display/intel_display_driver.h drivers/gpu/drm/i915/i915_driver.c+30 -230 replies
10/12drm/i915/display: deduplicate suspend and shutdown a bitdrivers/gpu/drm/i915/display/intel_display_driver.c+23 -220 replies
11/12drm/xe/display: use intel_display_driver_pm_shutdown()drivers/gpu/drm/xe/display/xe_display.c+1 -100 replies
12/12drm/{i915, xe}: move more stuff to __intel_display_driver_pm_suspend()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/xe/display/xe_display.c+8 -270 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchVille SyrjäläMichał Grzelak
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [CI 00/12] drm/{i915, xe}: display (runtime) suspend/resume/shutdown unification, part 2

This is the second part of [1] for CI and merging.

This covers patches 6-12 and 14-18. Patch 13 needs additional work, but it was isolated from the rest so I just dropped it from here.

BR,
Jani.

[1] https://lore.kernel.org/r/[email protected]

Jani Nikula (12):
drm/i915/display: add "pm" to intel_display_driver_{suspend,resume}()
names
drm/xe/display: rename xe_display_pm_shutdown*() to
xe_display_shutdown*()
drm/xe/display: relocate the xe_display_shutdown*() functions drm/xe/display: relocate the xe_display_pm_runtime_*() functions drm/{i915,xe}: move more calls inside
intel_display_driver_pm_suspend()
drm/{i915,xe}: move more calls inside intel_display_driver_pm_resume() drm/{i915,xe}: add
intel_display_driver_pm_{suspend_late,resume_early}()
drm/{i915,xe}: add intel_display_driver_shutdown_late() drm/i915: add intel_display_driver_shutdown() drm/i915/display: deduplicate suspend and shutdown a bit drm/xe/display: use intel_display_driver_pm_shutdown() drm/{i915,xe}: move more stuff to __intel_display_driver_pm_suspend()

 .../drm/i915/display/intel_display_driver.c   | 110 +++++++++-
 .../drm/i915/display/intel_display_driver.h   |   9 +-
 drivers/gpu/drm/i915/i915_driver.c            |  87 ++------
 drivers/gpu/drm/xe/display/xe_display.c       | 194 ++++++------------
 drivers/gpu/drm/xe/display/xe_display.h       |  10 +-
 drivers/gpu/drm/xe/xe_device.c                |   4 +-
 6 files changed, 192 insertions(+), 222 deletions(-)
Signature · 1 line
2.47.3