aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-01 07:53:41 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-06 07:14:35 -0500
commitd83779a9cb9374977c1c05364b4d7dfe9ec68ef3 (patch)
treebd78ddf291009dd74bc81417b2cddc4cac787c15 /drivers
parent4a06e201dae98ed893bae677b7b05bff29fcbab0 (diff)
drm/i915: don't handle PIPE_LEGACY_BLC_EVENT_STATUS on vlv
This is for legacy legacy stuff, and checking with the leftover pipe from the previous loop is propably not what we want. Since pipe == 2 after the loop ... Then we only assing a variable and do nothing with it. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 2aa23e7fc2ab..935b6b7bae73 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -530,7 +530,6 @@ static irqreturn_t valleyview_irq_handler(int irq, void *arg)
530 unsigned long irqflags; 530 unsigned long irqflags;
531 int pipe; 531 int pipe;
532 u32 pipe_stats[I915_MAX_PIPES]; 532 u32 pipe_stats[I915_MAX_PIPES];
533 bool blc_event;
534 533
535 atomic_inc(&dev_priv->irq_received); 534 atomic_inc(&dev_priv->irq_received);
536 535
@@ -587,9 +586,6 @@ static irqreturn_t valleyview_irq_handler(int irq, void *arg)
587 I915_READ(PORT_HOTPLUG_STAT); 586 I915_READ(PORT_HOTPLUG_STAT);
588 } 587 }
589 588
590 if (pipe_stats[pipe] & PIPE_LEGACY_BLC_EVENT_STATUS)
591 blc_event = true;
592
593 if (pm_iir & GEN6_PM_DEFERRED_EVENTS) 589 if (pm_iir & GEN6_PM_DEFERRED_EVENTS)
594 gen6_queue_rps_work(dev_priv, pm_iir); 590 gen6_queue_rps_work(dev_priv, pm_iir);
595 591