Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] MSI-X support
@ 2024-11-04 20:56 Ilia Levi
  2024-11-04 20:56 ` [PATCH 1/3] drm/xe: Initial MSI-X support for HW engines Ilia Levi
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Ilia Levi @ 2024-11-04 20:56 UTC (permalink / raw)
  To: intel-xe; +Cc: ilia.levi, niranjana.vishwanathapura, koby.elbaz, yaron.avizrat

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

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.


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

Ilia Levi (2):
  drm/xe: Initial MSI-X support for HW engines
  drm/xe: Manage MSI-X interrupts allocation

 drivers/gpu/drm/xe/Makefile              |   1 +
 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     |  12 ++
 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         |   9 +-
 drivers/gpu/drm/xe/xe_hw_engine.c        |   7 +-
 drivers/gpu/drm/xe/xe_irq.c              | 119 +++++++++----
 drivers/gpu/drm/xe/xe_irq.h              |   1 +
 drivers/gpu/drm/xe/xe_irq_msix.c         | 216 +++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_irq_msix.h         |  22 +++
 drivers/gpu/drm/xe/xe_lrc.c              |  23 ++-
 drivers/gpu/drm/xe/xe_lrc.h              |   2 +-
 include/uapi/drm/xe_drm.h                |   8 +-
 17 files changed, 443 insertions(+), 53 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_irq_msix.c
 create mode 100644 drivers/gpu/drm/xe/xe_irq_msix.h

-- 
2.43.2


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/3] MSI-X support
@ 2024-11-04 14:46 Levi, Ilia
  2024-11-04 16:39 ` Lucas De Marchi
  0 siblings, 1 reply; 13+ messages in thread
From: Levi, Ilia @ 2024-11-04 14:46 UTC (permalink / raw)
  To: intel-xe; +Cc: ilia.levi, niranjana Vishwanathapura, koby.elbaz, yaron.avizrat

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

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.


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

Ilia Levi (2):
  drm/xe: Initial MSI-X support for HW engines
  drm/xe: Manage MSI-X interrupts allocation

 drivers/gpu/drm/xe/Makefile              |   1 +
 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     |  12 ++
 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         |   9 +-
 drivers/gpu/drm/xe/xe_hw_engine.c        |   7 +-
 drivers/gpu/drm/xe/xe_irq.c              | 119 +++++++++----
 drivers/gpu/drm/xe/xe_irq.h              |   1 +
 drivers/gpu/drm/xe/xe_irq_msix.c         | 216 +++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_irq_msix.h         |  22 +++
 drivers/gpu/drm/xe/xe_lrc.c              |  23 ++-
 drivers/gpu/drm/xe/xe_lrc.h              |   2 +-
 include/uapi/drm/xe_drm.h                |   8 +-
 17 files changed, 443 insertions(+), 53 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_irq_msix.c
 create mode 100644 drivers/gpu/drm/xe/xe_irq_msix.h

-- 
2.43.2



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-11-05 23:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 20:56 [PATCH 0/3] MSI-X support Ilia Levi
2024-11-04 20:56 ` [PATCH 1/3] drm/xe: Initial MSI-X support for HW engines Ilia Levi
2024-11-04 20:56 ` [PATCH 2/3] drm/xe: Manage MSI-X interrupts allocation Ilia Levi
2024-11-04 20:56 ` [PATCH 3/3] drm/xe/uapi: Support requesting unique MSI-X for exec queue Ilia Levi
2024-11-04 23:39 ` ✓ CI.Patch_applied: success for MSI-X support (rev2) Patchwork
2024-11-04 23:40 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-04 23:41 ` ✓ CI.KUnit: success " Patchwork
2024-11-04 23:53 ` ✓ CI.Build: " Patchwork
2024-11-04 23:55 ` ✗ CI.Hooks: failure " Patchwork
2024-11-04 23:56 ` ✓ CI.checksparse: success " Patchwork
2024-11-05 23:05 ` ✗ CI.FULL: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04 14:46 [PATCH 0/3] MSI-X support Levi, Ilia
2024-11-04 16:39 ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox