Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d83779a9 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4a06e201
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ static irqreturn_t valleyview_irq_handler(int irq, void *arg)
	unsigned long irqflags;
	int pipe;
	u32 pipe_stats[I915_MAX_PIPES];
	bool blc_event;

	atomic_inc(&dev_priv->irq_received);

@@ -587,9 +586,6 @@ static irqreturn_t valleyview_irq_handler(int irq, void *arg)
			I915_READ(PORT_HOTPLUG_STAT);
		}

		if (pipe_stats[pipe] & PIPE_LEGACY_BLC_EVENT_STATUS)
			blc_event = true;

		if (pm_iir & GEN6_PM_DEFERRED_EVENTS)
			gen6_queue_rps_work(dev_priv, pm_iir);