OSDN Git Service

drm/i915/gt: Move CS interrupt handler to the backend
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 May 2021 18:32:15 +0000 (11:32 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 May 2021 13:14:40 +0000 (15:14 +0200)
commit0669a6e1f11500ba9e6ddebe67c449c0444daa3a
tree6334cc0b2a3d6ba754332c3070f2aef2308826ba
parentc92c36ed8d92b0bad1cbd482a8b2e9871a8cb28b
drm/i915/gt: Move CS interrupt handler to the backend

The different submission backends each have their own preferred
behaviour and interrupt setup. Let each handle their own interrupts.

This becomes more useful later as we to extract the use of auxiliary
state in the interrupt handler that is backend specific.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210521183215.65451-4-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/intel_gt_irq.c
drivers/gpu/drm/i915/gt/intel_gt_irq.h
drivers/gpu/drm/i915/gt/intel_ring_submission.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
drivers/gpu/drm/i915/i915_irq.c