aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-09-28 11:46:56 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-01 01:45:48 -0400
commit5134099089b539e18afb9d06313508317fb35504 (patch)
treefcd635d1ac99cc3fcf8a15be4d4494411aa19509 /drivers/gpu/drm
parentd9255d57147e1dbcebdf6670409c2fa0ac3609e6 (diff)
drm/i915: Make intel_resume_power_well() static
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index a17a86ac4e40..e6db0c67e0be 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -798,7 +798,6 @@ void intel_display_power_put(struct drm_device *dev,
798 enum intel_display_power_domain domain); 798 enum intel_display_power_domain domain);
799void intel_init_power_well(struct drm_device *dev); 799void intel_init_power_well(struct drm_device *dev);
800void intel_set_power_well(struct drm_device *dev, bool enable); 800void intel_set_power_well(struct drm_device *dev, bool enable);
801void intel_resume_power_well(struct drm_device *dev);
802void intel_enable_gt_powersave(struct drm_device *dev); 801void intel_enable_gt_powersave(struct drm_device *dev);
803void intel_disable_gt_powersave(struct drm_device *dev); 802void intel_disable_gt_powersave(struct drm_device *dev);
804void ironlake_teardown_rc6(struct drm_device *dev); 803void ironlake_teardown_rc6(struct drm_device *dev);
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 10054b58ee92..698257cf6381 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5512,7 +5512,7 @@ void intel_set_power_well(struct drm_device *dev, bool enable)
5512 spin_unlock_irq(&power_well->lock); 5512 spin_unlock_irq(&power_well->lock);
5513} 5513}
5514 5514
5515void intel_resume_power_well(struct drm_device *dev) 5515static void intel_resume_power_well(struct drm_device *dev)
5516{ 5516{
5517 struct drm_i915_private *dev_priv = dev->dev_private; 5517 struct drm_i915_private *dev_priv = dev->dev_private;
5518 struct i915_power_well *power_well = &dev_priv->power_well; 5518 struct i915_power_well *power_well = &dev_priv->power_well;