aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkash Goel <akash.goel@intel.com>2015-03-06 00:37:23 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-17 17:30:27 -0400
commitaa448626d81d18e74bd24f22eba9a0b0822d3879 (patch)
treec32ea67b96137aedef4dccde8da9263a7bbfbc40
parent60260a5b59f7733fe5e3f5c2e39dfb3291ffb94f (diff)
drm/i915/skl: Enabling processing of Turbo interrupts
Earlier Turbo interrupts were not being processed for SKL, as something was amiss in turbo programming for SKL. Now missing changes have been added, so enabling the Turbo interrupt processing for SKL. Signed-off-by: Akash Goel <akash.goel@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 92e1ee44f07b..49ad5fb82ace 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1696,11 +1696,6 @@ static void i9xx_pipe_crc_irq_handler(struct drm_device *dev, enum pipe pipe)
1696 * the work queue. */ 1696 * the work queue. */
1697static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir) 1697static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir)
1698{ 1698{
1699 /* TODO: RPS on GEN9+ is not supported yet. */
1700 if (WARN_ONCE(INTEL_INFO(dev_priv)->gen >= 9,
1701 "GEN9+: unexpected RPS IRQ\n"))
1702 return;
1703
1704 if (pm_iir & dev_priv->pm_rps_events) { 1699 if (pm_iir & dev_priv->pm_rps_events) {
1705 spin_lock(&dev_priv->irq_lock); 1700 spin_lock(&dev_priv->irq_lock);
1706 gen6_disable_pm_irq(dev_priv, pm_iir & dev_priv->pm_rps_events); 1701 gen6_disable_pm_irq(dev_priv, pm_iir & dev_priv->pm_rps_events);