aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 0bb69fd255a9..94aabcaa3a67 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2491,14 +2491,7 @@ static void gen6_enable_rps(struct drm_device *dev)
2491 gen6_set_rps(dev_priv->dev, (gt_perf_status & 0xff00) >> 8); 2491 gen6_set_rps(dev_priv->dev, (gt_perf_status & 0xff00) >> 8);
2492 2492
2493 /* requires MSI enabled */ 2493 /* requires MSI enabled */
2494 I915_WRITE(GEN6_PMIER, 2494 I915_WRITE(GEN6_PMIER, GEN6_PM_DEFERRED_EVENTS);
2495 GEN6_PM_MBOX_EVENT |
2496 GEN6_PM_THERMAL_EVENT |
2497 GEN6_PM_RP_DOWN_TIMEOUT |
2498 GEN6_PM_RP_UP_THRESHOLD |
2499 GEN6_PM_RP_DOWN_THRESHOLD |
2500 GEN6_PM_RP_UP_EI_EXPIRED |
2501 GEN6_PM_RP_DOWN_EI_EXPIRED);
2502 spin_lock_irq(&dev_priv->rps_lock); 2495 spin_lock_irq(&dev_priv->rps_lock);
2503 WARN_ON(dev_priv->pm_iir != 0); 2496 WARN_ON(dev_priv->pm_iir != 0);
2504 I915_WRITE(GEN6_PMIMR, 0); 2497 I915_WRITE(GEN6_PMIMR, 0);
@@ -3939,11 +3932,6 @@ void intel_init_pm(struct drm_device *dev)
3939 else 3932 else
3940 dev_priv->display.get_fifo_size = i830_get_fifo_size; 3933 dev_priv->display.get_fifo_size = i830_get_fifo_size;
3941 } 3934 }
3942
3943 /* We attempt to init the necessary power wells early in the initialization
3944 * time, so the subsystems that expect power to be enabled can work.
3945 */
3946 intel_init_power_wells(dev);
3947} 3935}
3948 3936
3949static void __gen6_gt_wait_for_thread_c0(struct drm_i915_private *dev_priv) 3937static void __gen6_gt_wait_for_thread_c0(struct drm_i915_private *dev_priv)