]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/irq: Manage MSI-X interrupts allocation
authorIlia Levi <ilia.levi@intel.com>
Fri, 13 Dec 2024 07:25:37 +0000 (09:25 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 13 Dec 2024 18:38:13 +0000 (13:38 -0500)
commitf0d3a3cffd432bd756b25a630f7bd19c018f72ce
tree2f943fa1da6b3b9e43f40ccdbe595e947435581a
parent21d07f5fdc903e36cfd7119bb19477c4d12dbb36
drm/xe/irq: Manage MSI-X interrupts allocation

Expose functions to request and free MSI-X interrupts.

The request has two flavors:
- Static MSI-X allocation, for known MSI-X interrupts (e.g. GuC-to-host)
- Dynamic MSI-X allocation, which uses the next available MSI-X interrupt

Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241213072538.6823-4-ilia.levi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_irq.c
drivers/gpu/drm/xe/xe_irq.h