Skip to content

MSI-X support

Ilia Levi intel-xe 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 0 repliesNew
  2. v55 patches 9 repliesSuperseded
  3. v43 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches0 repliesSuperseded
v23 patches0 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Rebase
- Remove merged patch
- Cosmetic fix (Piotr)

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe/irq: Separate MSI and MSI-X flowsdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_device.h drivers/gpu/drm/xe/xe_device_types.h +2 more+237 -360 replies
2/4drm/xe: Initial MSI-X support for HW enginesdrivers/gpu/drm/xe/regs/xe_engine_regs.h drivers/gpu/drm/xe/regs/xe_lrc_layout.h drivers/gpu/drm/xe/xe_exec_queue.c +5 more+44 -110 replies
3/4drm/xe/irq: Manage MSI-X interrupts allocationdrivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_irq.c drivers/gpu/drm/xe/xe_irq.h+83 -200 replies
4/4drm/xe/uapi: Support requesting unique MSI-X for exec queuedrivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_exec_queue_types.h drivers/gpu/drm/xe/xe_irq.c +2 more+80 -60 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPiotr Piórkowski
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/4] MSI-X support

This patch set introduces MSI-X workflow.
This is a rework of previously published series 135422
(https://patchwork.freedesktop.org/series/135422/) and a continuation of series 140877 (https://patchwork.freedesktop.org/series/140877/).

It includes:
1. Basic MSI-X workflow with GuC-to-host and "default MSI-X" interrupt handlers.
2. MSI-X interrupts allocator to allow dynamic resource management.
3. uAPI flag to xe_exec_queue_create_ioctl that allows creating an exec queue with its own MSI-X interrupt.

v2: Rebase + fix kernel doc issue
v3: Rebase + fix sriov_basic test failure
v4: Another attempt to fix sriov flows
v5:
- Rebase
- Optimize irq.enabled access (additional patch)
- Check irq.enabled in new IRQ handlers
- Code review comments (Piotr)
v6:
- Rebase
- Remove merged patch
- Cosmetic fix (Piotr)

Dani Liberman (1):
drm/xe/uapi: Support requesting unique MSI-X for exec queue

Ilia Levi (3):
drm/xe/irq: Separate MSI and MSI-X flows
drm/xe: Initial MSI-X support for HW engines
drm/xe/irq: Manage MSI-X interrupts allocation

 drivers/gpu/drm/xe/regs/xe_engine_regs.h |   3 +
 drivers/gpu/drm/xe/regs/xe_lrc_layout.h  |   3 +
 drivers/gpu/drm/xe/xe_device.c           |   4 +-
 drivers/gpu/drm/xe/xe_device.h           |   3 +-
 drivers/gpu/drm/xe/xe_device_types.h     |   8 +
 drivers/gpu/drm/xe/xe_exec_queue.c       |  59 +++-
 drivers/gpu/drm/xe/xe_exec_queue_types.h |   4 +
 drivers/gpu/drm/xe/xe_execlist.c         |  10 +-
 drivers/gpu/drm/xe/xe_hw_engine.c        |   7 +-
 drivers/gpu/drm/xe/xe_irq.c              | 331 ++++++++++++++++++++---
 drivers/gpu/drm/xe/xe_irq.h              |   9 +
 drivers/gpu/drm/xe/xe_lrc.c              |  24 +-
 drivers/gpu/drm/xe/xe_lrc.h              |   2 +-
 include/uapi/drm/xe_drm.h                |   8 +-
 14 files changed, 423 insertions(+), 52 deletions(-)
Signature · 1 line
2.43.2