{
struct drm_i915_private *dev_priv = dev->dev_private;
+ I915_WRITE(HWSTAM, 0xffffffff);
+
GEN5_IRQ_RESET(DE);
if (IS_GEN7(dev))
I915_WRITE(GEN7_ERR_INT, 0xffffffff);
static void ironlake_irq_preinstall(struct drm_device *dev)
{
- struct drm_i915_private *dev_priv = dev->dev_private;
-
- I915_WRITE(HWSTAM, 0xeffe);
-
ironlake_irq_reset(dev);
}
dev_priv->irq_mask = ~display_mask;
+ I915_WRITE(HWSTAM, 0xeffe);
+
ibx_irq_pre_postinstall(dev);
GEN5_IRQ_INIT(DE, dev_priv->irq_mask, display_mask | extra_mask);
intel_hpd_irq_uninstall(dev_priv);
- I915_WRITE(HWSTAM, 0xffffffff);
-
ironlake_irq_reset(dev);
}