drm/i915/gt: Reorganise gen8+ interrupt handler
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Jan 2020 23:15:36 +0000 (23:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2020 12:30:00 +0000 (12:30 +0000)
commit6cc32f15f90b7e6d761dd0673af1898cc7f89f07
tree601aa19018742c088504f473ce0817a1b20e4198
parent03d0ed8a8e93005417c2aa8ea735b247e7a9d640
drm/i915/gt: Reorganise gen8+ interrupt handler

We always use a deferred bottom-half (either tasklet or irq_work) for
processing the response to an interrupt which means we can recombine the
GT irq ack+handler into one. This simplicity is important in later
patches as we will need to handle and then ack multiple interrupt levels
before acking the GT and master interrupts.

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-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_irq.c
drivers/gpu/drm/i915/gt/intel_gt_irq.h
drivers/gpu/drm/i915/i915_irq.c