[PATCH v5 0/5] memirq infra changes

Ilia Levi illevi at habana.ai
Tue Sep 17 11:23:02 UTC 2024


From: Ilia Levi <ilia.levi at intel.com>


This patch set contains Memory Based Interrupts (memirq) infrastructure
changes to make it reusable for use cases other than VF 
(specifically MSI-X). 

The main changes are separation from VF and a new mode where hardware
engines report interrupt source and status to the offset of instance 0
(for MSI-X support).

v2: Rebase
v3: Rebase, refactor according to review comments (Michal)
v4: Rebase, address review comments (Michal)
v5: Rebase, fix more review comments (Michal)


Ilia Levi (5):
  drm/xe: Introduce dedicated config for memirq debug
  drm/xe: Introduce xe_device_uses_memirq()
  drm/xe: move memirq out of VF
  drm/xe: memirq infra changes for MSI-X
  drm/xe: memirq handler changes

 drivers/gpu/drm/xe/Kconfig.debug     |  12 ++
 drivers/gpu/drm/xe/xe_device.c       |   8 +-
 drivers/gpu/drm/xe/xe_device.h       |  12 ++
 drivers/gpu/drm/xe/xe_device_types.h |   6 +-
 drivers/gpu/drm/xe/xe_guc.c          |   2 +-
 drivers/gpu/drm/xe/xe_hw_engine.c    |  28 +++-
 drivers/gpu/drm/xe/xe_irq.c          |   8 +-
 drivers/gpu/drm/xe/xe_lrc.c          |   8 +-
 drivers/gpu/drm/xe/xe_memirq.c       | 190 +++++++++++++++++++--------
 drivers/gpu/drm/xe/xe_memirq.h       |   6 +-
 drivers/gpu/drm/xe/xe_memirq_types.h |   4 +-
 11 files changed, 205 insertions(+), 79 deletions(-)

-- 
2.43.2



More information about the Intel-xe mailing list