[PATCH 0/6] preparation for multiple power-wells

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
1.8.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux