drm/i915/gt: Tidy repetition in declaring gen8+ interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Jan 2020 23:15:37 +0000 (23:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2020 12:35:26 +0000 (12:35 +0000)
commitff3d4ff6c9e66ba1602d0b89255961ddd43e7db7
tree5b7cd59495f37726672884432dc63eb10557127d
parent6cc32f15f90b7e6d761dd0673af1898cc7f89f07
drm/i915/gt: Tidy repetition in declaring gen8+ interrupts

We use the same interrupt mask for each engine, so define it once in a
local and reuse.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200127231540.3302516-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_irq.c