[Intel-xe] [PATCH v2 0/8] Interrupt cleanup and future-proofing

Matt Roper matthew.d.roper at intel.com
Sat Apr 1 00:20:58 UTC 2023


A lot of the interrupt code in the Xe driver was copied directly from
i915.  Since Xe only supports Xe_LP and later platforms, there's some
cleanup and simplification that can be done.

Also fix one mistake that would have become a bug in the future if we
ever wind up with a multi-tile platform that also supports display.

Cc: Lucas De Marchi <lucas.demarchi at intel.com>

Matt Roper (8):
  drm/xe/irq: Drop gen3_ prefixes
  drm/xe/irq: Add helpers to find ISR/IIR/IMR/IER registers
  drm/xe/irq: Drop IRQ_INIT and IRQ_RESET macros
  drm/xe/irq: Drop unnecessary GEN11_ and GEN12_ register prefixes
  drm/xe/irq: Rename and clarify top-level interrupt handling routines
  drm/xe/irq: Drop remaining "gen11_" prefix from IRQ functions
  drm/xe/irq: Drop commented-out code for non-existent media engines
  drm/xe/irq: Don't clobber display interrupts on multi-tile platforms

 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  42 ++--
 drivers/gpu/drm/xe/regs/xe_regs.h    |  25 +--
 drivers/gpu/drm/xe/xe_display.c      |   4 +-
 drivers/gpu/drm/xe/xe_guc.c          |   6 +-
 drivers/gpu/drm/xe/xe_irq.c          | 288 ++++++++++++++-------------
 5 files changed, 180 insertions(+), 185 deletions(-)

-- 
2.39.2



More information about the Intel-xe mailing list