drm/i915: Extract GT powermanagement interrupt handling
authorAndi Shyti <andi.shyti@intel.com>
Sun, 11 Aug 2019 14:28:00 +0000 (15:28 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Aug 2019 14:36:06 +0000 (15:36 +0100)
commitd762043f7ab142291be07f15ac7ff83b7485e3e6
tree8ad158e73138afb4df2b70e088607bbeb25797e5
parent4ecd20c929b86e87ee4a74379678d1c0ef90c68d
drm/i915: Extract GT powermanagement interrupt handling

i915_irq.c is large. It serves as the central dispatch and handler for
all of our device interrupts. Pull out the GT pm interrupt handling
(leaving the central dispatch) so that we can encapsulate the logic a
little better.

Based on a patch by Chris Wilson.

Signed-off-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190811142801.2460-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt_pm_irq.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_gt_pm_irq.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_ringbuffer.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.h