drm/i915: Use proper fault mask in interrupt postinstall too
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 24 Apr 2020 23:14:23 +0000 (16:14 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 27 Apr 2020 18:36:41 +0000 (11:36 -0700)
commit869129ee0c624a78c74e50b51635e183196cd2c6
tree998fc933d827df185aea3d358d4175851882bf82
parent6dc0d028f53945ca8de3e61a149f103f100d42df
drm/i915: Use proper fault mask in interrupt postinstall too

The IRQ postinstall handling had open-coded pipe fault mask selection
that never got updated for gen11.  Switch it to use
gen8_de_pipe_fault_mask() to ensure we don't miss updates for new
platforms.

Cc: José Roberto de Souza <jose.souza@intel.com>
Fixes: d506a65d56fd ("drm/i915: Catch GTT fault errors for gen11+ planes")
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200424231423.4065231-1-matthew.d.roper@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_irq.c