Skip to content

preparation for multiple power-wells

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915: make the intel_display_power_domain enum compactdrivers/gpu/drm/i915/i915_drv.h+4 -21 reply
2/6drm/i915: factor out is_always_on_domaindrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+38 -541 reply
3/6drm/i915: change power_well->lock to be mutexdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+14 -144 replies
4/6drm/i915: factor out modeset_update_power_wellsdrivers/gpu/drm/i915/intel_display.c+5 -11 reply
5/6drm/i915: enable only the needed power domains during modesetdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+42 -53 replies
6/6drm/i915: use power get/put instead of set for power on after initdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h +3 more+27 -3721 replies

Reviews trailers per patch

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

PatchJesse BarnesPaulo Zanoni
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b R-b R-b R-b R-b R-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 [PATCH 0/6] preparation for multiple power-wells

This is a prepration for adding support for multiple power-wells needed by future HW platforms. I pushed the rest of the enabling patches to [1]. I'd like to post the generic parts of those once we agreed how to do the power-well abstraction.

Except a spinlock->mutex change these patches shouldn't cause any functional change. I tested it on VLV/HSW VGA by doing a manual DPMS on/off and checking that the power-well indeed toggles. Also on HSW I checked that the audio power well release/request still works by doing a rmmod/insmod snd_hda_intel.

[1] https://github.com/ideak/linux/commits/powerwells

Imre Deak (6):
drm/i915: make the intel_display_power_domain enum compact drm/i915: factor out is_always_on_domain
drm/i915: change power_well->lock to be mutex
drm/i915: factor out modeset_update_power_wells drm/i915: enable only the needed power domains during modeset drm/i915: use power get/put instead of set for power on after init

 drivers/gpu/drm/i915/i915_dma.c      |   2 +-
 drivers/gpu/drm/i915/i915_drv.c      |   2 +-
 drivers/gpu/drm/i915/i915_drv.h      |  23 ++++--
 drivers/gpu/drm/i915/intel_display.c |  69 ++++++++++++++++--
 drivers/gpu/drm/i915/intel_drv.h     |   2 +
 drivers/gpu/drm/i915/intel_pm.c      | 133 ++++++++++-------------------------
 6 files changed, 124 insertions(+), 107 deletions(-)
Signature · 1 line
1.8.4