]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc4889effd7bdd67cd9756374fdeb85d78d0dca2
tree8eea75eeaf1309a292b79d11cb920be84e49d637
parentdd58b6a843a2c6faf7850538332746f726932ef3
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