drm/i915: Just check the vebox IIR regardless
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 15:09:13 +0000 (15:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 15:46:01 +0000 (15:46 +0000)
commitf14c0d9fd871b29772614f16e259af2f34290e2a
tree6fab1a8a63de9743a85867ec95b0ca867ebaaa0a
parenta2ac437bc0feb15e9bd4c0bfb24e9fd9b133416d
drm/i915: Just check the vebox IIR regardless

As we don't unmask and enable the vebox interrupts if the engine is not
being used, we will never generate the vebox interrupts as part of the
IIR and so can unconditionally check IIR without fear of chasing into
the vebox.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305150914.11340-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c