]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e92edc9b612fe822b746fbf2a5e3ac03b8e7886
tree8ad158e73138afb4df2b70e088607bbeb25797e5
parente338828a6703f38c9600f0a488928691839a6294
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