Skip to content

Commit

Permalink
drm/i915: Do gen5_gt_irq_postinstall() before enabling the master int…
Browse files Browse the repository at this point in the history
…errupt

Let's make sure the lower level interrupt bits are all lined
up before we flip on the master interrupt.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201021131443.25616-4-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Ville Syrjälä committed Oct 21, 2020
1 parent d08c4e2 commit a992291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -3474,11 +3474,11 @@ static void ilk_irq_postinstall(struct drm_i915_private *dev_priv)

ibx_irq_pre_postinstall(dev_priv);

gen5_gt_irq_postinstall(&dev_priv->gt);

GEN3_IRQ_INIT(uncore, DE, dev_priv->irq_mask,
display_mask | extra_mask);

gen5_gt_irq_postinstall(&dev_priv->gt);

ilk_hpd_detection_setup(dev_priv);

ibx_irq_postinstall(dev_priv);
Expand Down

0 comments on commit a992291

Please sign in to comment.