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

Matt Roper matthew.d.roper at intel.com
Thu Mar 30 18:23:57 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.

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_reg_defs.h |   8 +
 drivers/gpu/drm/xe/regs/xe_regs.h     |  25 +--
 drivers/gpu/drm/xe/xe_guc.c           |   6 +-
 drivers/gpu/drm/xe/xe_irq.c           | 280 +++++++++++++-------------
 5 files changed, 178 insertions(+), 183 deletions(-)

-- 
2.39.2



More information about the Intel-xe mailing list