mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

The cleanup is done by devres in irq_uninstall.
Commit bbc9651fe9
("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>
19 lines
347 B
C
19 lines
347 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_IRQ_H_
|
|
#define _XE_IRQ_H_
|
|
|
|
struct xe_device;
|
|
struct xe_tile;
|
|
struct xe_gt;
|
|
|
|
int xe_irq_install(struct xe_device *xe);
|
|
void xe_irq_suspend(struct xe_device *xe);
|
|
void xe_irq_resume(struct xe_device *xe);
|
|
void xe_irq_enable_hwe(struct xe_gt *gt);
|
|
|
|
#endif
|