if (pm_iir)
I915_WRITE(GEN6_PMIIR, pm_iir);
- if (gt_iir)
- snb_gt_irq_handler(dev, dev_priv, gt_iir);
- if (pm_iir)
- gen6_rps_irq_handler(dev_priv, pm_iir);
-
if (iir & I915_DISPLAY_PORT_INTERRUPT)
hotplug_status = i9xx_hpd_irq_ack(dev_priv);
I915_WRITE(VLV_MASTER_IER, MASTER_INTERRUPT_ENABLE);
POSTING_READ(VLV_MASTER_IER);
+ if (gt_iir)
+ snb_gt_irq_handler(dev, dev_priv, gt_iir);
+ if (pm_iir)
+ gen6_rps_irq_handler(dev_priv, pm_iir);
+
if (hotplug_status)
i9xx_hpd_irq_handler(dev, hotplug_status);