aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-02-17 17:02:19 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-05 15:30:09 -0500
commit93c73e8c6eae891f73e39fb4bad19f996d3a8c1f (patch)
tree16a64c941498cd05835a0e554b3a834f6d2dfe51 /drivers/gpu/drm/i915/intel_pm.c
parent040987539448708c36ece11c985ee9f3166bb420 (diff)
drm/i915: move hsw power domain comment to its right place
Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 87ab6544dc48..146cf83a9385 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5249,6 +5249,12 @@ bool intel_display_power_enabled(struct drm_i915_private *dev_priv,
5249 return is_enabled; 5249 return is_enabled;
5250} 5250}
5251 5251
5252/*
5253 * Starting with Haswell, we have a "Power Down Well" that can be turned off
5254 * when not needed anymore. We have 4 registers that can request the power well
5255 * to be enabled, and it will only be disabled if none of the registers is
5256 * requesting it to be enabled.
5257 */
5252static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv) 5258static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv)
5253{ 5259{
5254 struct drm_device *dev = dev_priv->dev; 5260 struct drm_device *dev = dev_priv->dev;
@@ -5514,12 +5520,6 @@ static void intel_power_domains_resume(struct drm_i915_private *dev_priv)
5514 mutex_unlock(&power_domains->lock); 5520 mutex_unlock(&power_domains->lock);
5515} 5521}
5516 5522
5517/*
5518 * Starting with Haswell, we have a "Power Down Well" that can be turned off
5519 * when not needed anymore. We have 4 registers that can request the power well
5520 * to be enabled, and it will only be disabled if none of the registers is
5521 * requesting it to be enabled.
5522 */
5523void intel_power_domains_init_hw(struct drm_i915_private *dev_priv) 5523void intel_power_domains_init_hw(struct drm_i915_private *dev_priv)
5524{ 5524{
5525 /* For now, we need the power well to be always enabled. */ 5525 /* For now, we need the power well to be always enabled. */