]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe/irq: remove xe_irq_shutdown
authorIlia Levi <illevi@habana.ai>
Thu, 6 Jun 2024 12:47:05 +0000 (15:47 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 26 Jun 2024 22:25:22 +0000 (18:25 -0400)
commit80bab5c5038f32c92f5d26ff9df7255247c8dd89
treeb9bfb49fbf9d418fd5bcf3bb98db4b19e063beba
parent8511d9da2058ffca7c745c48e93c51840e2ed65e
drm/xe/irq: remove xe_irq_shutdown

The cleanup is done by devres in irq_uninstall.

Commit bbc9651fe9f4 ("drm/xe/irq: move irq_uninstall over to devm")
resolved the ordering issue where irq_uninstall (registered with drmm)
was called after pci_free_irq_vectors (registered with devm upon calling
pci_alloc_irq_vectors). This happened because drmm action list is
registered with devm very early in the init flow - before
pci_alloc_irq_vectors.

Now that irq_uninstall is registered with devm, it will be called before
pci_free_irq_vectors and we can remove xe_irq_shutdown.

Signed-off-by: Ilia Levi <illevi@habana.ai>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606124705.822451-1-illevi@habana.ai
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_irq.c
drivers/gpu/drm/xe/xe_irq.h