]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract a intel_power_well_enable() function
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 30 Jul 2015 21:20:26 +0000 (18:20 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Aug 2015 08:20:39 +0000 (10:20 +0200)
commit2b19c188d3de220ef7db5fdcbd39190b9da0384a
treeb9c49e9e81750f828232548c07ba6898386cdbf9
parent0b9e9de1b4c2bbc3eb66fbb9b520ac2b14dbe182
drm/i915: Extract a intel_power_well_enable() function

We need a bit book keeping around power wells' ops->enable(), namely a
nice debug message and updating hw_enabled. Let's introduce a
intel_power_well_enable() function to make sure all the callers do the
same things.

v2 (from Paulo):
  - s/i915_power_well_enable/intel_power_well_enable/ since everything
    else on this file uses intel_ instead of i915_.
  - Fix typo in commit message.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c