preparation for multiple power-wells
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/i915: make the intel_display_power_domain enum compactdrivers/ | +4 | 1 reply | |
| 2/6 | drm/i915: factor out is_always_on_domaindrivers/ drivers/ | +38 | 1 reply | |
| 3/6 | drm/i915: change power_well->lock to be mutexdrivers/ drivers/ | +14 | 4 replies | |
| 4/6 | drm/i915: factor out modeset_update_power_wellsdrivers/ | +5 | 1 reply | |
| 5/6 | drm/i915: enable only the needed power domains during modesetdrivers/ drivers/ | +42 | 3 replies | |
| 6/6 | drm/i915: use power get/put instead of set for power on after initdrivers/ drivers/ drivers/ +3 more | +27 | 21 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Jesse Barnes | Paulo Zanoni |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-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.
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