]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit186cd1d0221b640d5ddee8230ac79655f47de8d0
tree6fab1a8a63de9743a85867ec95b0ca867ebaaa0a
parent55e4dc79d01c4ed90c3f09d77b265413b2c7071b
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