drm/i915: Remove redundant check on execlists interrupt
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Feb 2018 15:12:24 +0000 (15:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Feb 2018 18:30:01 +0000 (18:30 +0000)
commit8e47b4b65bbd646b4d8be28e1ffff7a684f60fe6
tree21cca05c22d064ec0a53a9ed196aa88106a916b2
parent2927e4211f76893249cfa8e7ac5fe1c73ae791c1
drm/i915: Remove redundant check on execlists interrupt

Since commit 4a118ecbe99c ("drm/i915: Filter out spurious execlists
context-switch interrupts") we probe execlists->active, and no longer
have to peek at the execlist interrupt to determine if the tasklet still
needs to be run to drain the ELSP.

References: 4a118ecbe99c ("drm/i915: Filter out spurious execlists context-switch interrupts")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180208151224.16285-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c