Commit a9922912 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Do gen5_gt_irq_postinstall() before enabling the master interrupt

Let's make sure the lower level interrupt bits are all lined
up before we flip on the master interrupt.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201021131443.25616-4-ville.syrjala@linux.intel.comReviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent d08c4e23
...@@ -3474,11 +3474,11 @@ static void ilk_irq_postinstall(struct drm_i915_private *dev_priv) ...@@ -3474,11 +3474,11 @@ static void ilk_irq_postinstall(struct drm_i915_private *dev_priv)
ibx_irq_pre_postinstall(dev_priv); ibx_irq_pre_postinstall(dev_priv);
gen5_gt_irq_postinstall(&dev_priv->gt);
GEN3_IRQ_INIT(uncore, DE, dev_priv->irq_mask, GEN3_IRQ_INIT(uncore, DE, dev_priv->irq_mask,
display_mask | extra_mask); display_mask | extra_mask);
gen5_gt_irq_postinstall(&dev_priv->gt);
ilk_hpd_detection_setup(dev_priv); ilk_hpd_detection_setup(dev_priv);
ibx_irq_postinstall(dev_priv); ibx_irq_postinstall(dev_priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment