]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4fdaeb43731e40deaff066c81df8231a594e135
tree998fc933d827df185aea3d358d4175851882bf82
parentea43606f52dce8693729f724e62ec85716b044be
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: 88798dac70b4 ("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