Skip to content

fix VLV S4 suspend/resume, unify S3/S4 handlers

Imre Deak intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 3 repliesIn review
  2. v116 patches 29 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm/i915: factor out i915_drm_suspend_latedrivers/gpu/drm/i915/i915_drv.c+20 -120 replies
2/14drm/i915: unify legacy S3 suspend and S4 freeze handlersdrivers/gpu/drm/i915/i915_drv.c+3 -50 replies
3/14drm/i915: propagate error from legacy resume handlerdrivers/gpu/drm/i915/i915_drv.c+6 -30 replies
4/14drm/i915: vlv: fix switcheroo/legacy suspend/resumedrivers/gpu/drm/i915/i915_drv.c+9 -80 replies
5/14drm/i915: fix S4 suspend while switcheroo state is offdrivers/gpu/drm/i915/i915_drv.c+24 -30 replies
6/14drm/i915: remove unused restore_gtt_mappings optimization during suspenddrivers/gpu/drm/i915/i915_drv.c+4 -110 replies
7/14drm/i915: check for GT faults in all resume handlers and driver load timedrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/intel_uncore.c+11 -50 replies
8/14drm/i915: enable output polling during S4 thawdrivers/gpu/drm/i915/i915_drv.c+3 -80 replies
9/14drm/i915: disable/re-enable PCI device around S4 freeze/thawdrivers/gpu/drm/i915/i915_drv.c+2 -32 replies
10/14drm/i915: unify S3 and S4 suspend/resume handlersdrivers/gpu/drm/i915/i915_drv.c+17 -870 replies
11/14drm/i915: sanitize suspend/resume helper function namesdrivers/gpu/drm/i915/i915_drv.c+7 -120 replies
12/14drm/i915: add poweroff_late handlerdrivers/gpu/drm/i915/i915_drv.c+1 -00 replies
13/14drm/i915: unify switcheroo and legacy suspend/resume handlersdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h+7 -120 replies
14/14drm/i915: add comments on what stage a given PM handler is calleddrivers/gpu/drm/i915/i915_drv.c+22 -00 replies

Reviews trailers per patch

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

PatchVille SyrjäläSagar KambleChris Wilson
1/14R-b
2/14R-b
3/14R-b
4/14R-b R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/14] fix VLV S4 suspend/resume, unify S3/S4 handlers

This is v2 of [1]. I addressed Chris' and Ville's comments in it and rebased it against the latest -nightly kernel.

[1]
http://lists.freedesktop.org/archives/intel-gfx/2014-September/052199.html

Imre Deak (14):
drm/i915: factor out i915_drm_suspend_late
drm/i915: unify legacy S3 suspend and S4 freeze handlers drm/i915: propagate error from legacy resume handler drm/i915: vlv: fix switcheroo/legacy suspend/resume drm/i915: fix S4 suspend while switcheroo state is off drm/i915: remove unused restore_gtt_mappings optimization during
suspend
drm/i915: check for GT faults in all resume handlers and driver load
time
drm/i915: enable output polling during S4 thaw
drm/i915: disable/re-enable PCI device around S4 freeze/thaw drm/i915: unify S3 and S4 suspend/resume handlers drm/i915: sanitize suspend/resume helper function names drm/i915: add poweroff_late handler
drm/i915: unify switcheroo and legacy suspend/resume handlers drm/i915: add comments on what stage a given PM handler is called

 drivers/gpu/drm/i915/i915_dma.c     |   4 +-
 drivers/gpu/drm/i915/i915_drv.c     | 208 ++++++++++++++----------------------
 drivers/gpu/drm/i915/i915_drv.h     |   4 +-
 drivers/gpu/drm/i915/intel_uncore.c |  13 ++-
 4 files changed, 98 insertions(+), 131 deletions(-)
Signature · 1 line
1.8.4