]> 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)
commitc72334c94f76319dda15fe6365a9c4dd50908d60
tree8ad158e73138afb4df2b70e088607bbeb25797e5
parente17785b51c20f2955b1b04272d7de7c5c2fb6e17
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