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

Commit 5ea13be5 authored by Jani Nikula's avatar Jani Nikula Committed by Daniel Vetter
Browse files

drm/i915: remove the unnecessary block around display.hpd_irq_setup



The block was added for spin_lock_irqsave flags, but since the locking
was converted to spin_lock_irq variant, the block is no longer needed.

Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c934a167
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -703,12 +703,10 @@ static int i915_drm_resume(struct drm_device *dev)

		intel_modeset_init_hw(dev);

		{
		spin_lock_irq(&dev_priv->irq_lock);
		if (dev_priv->display.hpd_irq_setup)
			dev_priv->display.hpd_irq_setup(dev);
		spin_unlock_irq(&dev_priv->irq_lock);
		}

		intel_dp_mst_resume(dev);
		drm_modeset_lock_all(dev);