From: Ilia Levi <ilia.levi@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: ilia.levi@intel.com, niranjana.vishwanathapura@intel.com,
koby.elbaz@intel.com, yaron.avizrat@intel.com
Subject: [PATCH v4 0/3] MSI-X support
Date: Sun, 10 Nov 2024 22:39:12 +0200 [thread overview]
Message-ID: <20241110203915.729-1-ilia.levi@intel.com> (raw)
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.
v2: Rebase + fix kernel doc issue
v3: Rebase + fix sriov_basic test failure
v4: Another attempt to fix sriov flows
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 | 116 ++++++++----
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 | 24 ++-
drivers/gpu/drm/xe/xe_lrc.h | 2 +-
include/uapi/drm/xe_drm.h | 8 +-
17 files changed, 444 insertions(+), 50 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
next reply other threads:[~2024-11-10 20:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-10 20:39 Ilia Levi [this message]
2024-11-10 20:39 ` [PATCH v4 1/3] drm/xe: Initial MSI-X support for HW engines Ilia Levi
2024-11-27 8:24 ` Piotr Piórkowski
2024-11-28 15:07 ` Levi, Ilia
2024-11-10 20:39 ` [PATCH v4 2/3] drm/xe: Manage MSI-X interrupts allocation Ilia Levi
2024-11-10 20:39 ` [PATCH v4 3/3] drm/xe/uapi: Support requesting unique MSI-X for exec queue Ilia Levi
2024-11-10 20:45 ` ✓ CI.Patch_applied: success for MSI-X support (rev7) Patchwork
2024-11-10 20:45 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-10 20:46 ` ✓ CI.KUnit: success " Patchwork
2024-11-10 20:58 ` ✓ CI.Build: " Patchwork
2024-11-10 21:00 ` ✓ CI.Hooks: " Patchwork
2024-11-10 21:02 ` ✓ CI.checksparse: " Patchwork
2024-11-10 21:19 ` ✓ CI.BAT: " Patchwork
2024-11-10 22:13 ` ✗ CI.FULL: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241110203915.729-1-ilia.levi@intel.com \
--to=ilia.levi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=koby.elbaz@intel.com \
--cc=niranjana.vishwanathapura@intel.com \
--cc=yaron.avizrat@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox