drm/i915: Remove spurious DRM_ERROR for cancelled interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Feb 2018 15:34:48 +0000 (15:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Feb 2018 20:31:52 +0000 (20:31 +0000)
commit55ef72f24fae5d41febe6b6ebf7304f9a2cb9471
tree8eea75eeaf1309a292b79d11cb920be84e49d637
parent274de876065a34ca1ff093bfacb62e440a4491be
drm/i915: Remove spurious DRM_ERROR for cancelled interrupts

As we ourselves cancel interrupts during reset by clearing the GTIIR, it
is possible for the master IIR to indicate a pending IRQ for which we
have already cleared from the GTIIR. In this case, the DRM_ERROR are
intended and should not be flagged as an error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180202153448.23908-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c