]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/irq: Separate MSI and MSI-X flows
authorIlia Levi <ilia.levi@intel.com>
Fri, 13 Dec 2024 07:25:35 +0000 (09:25 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 13 Dec 2024 18:38:13 +0000 (13:38 -0500)
commitda889070be7b26b91e8b90f072687ca437d3ed7b
tree1e3052e96ec4fd7df7d9e4c8311c40a7734c9d98
parent4d79a1266d4cc3c967bc8823502466cad1ac8514
drm/xe/irq: Separate MSI and MSI-X flows

A new flow is added for devices that support MSI-X:
- MSI-X vector 0 is used for GuC-to-host interrupt
- MSI-X vector 1 (aka default MSI-X) is used for HW engines

The default MSI-X will be passed to the HW engines in a subsequent
patch.

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-2-ilia.levi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_irq.c
drivers/gpu/drm/xe/xe_irq.h