diff options
| author | Arvind Yadav <arvind.yadav@intel.com> | 2026-10-20 09:32:11 +0530 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-11-18 19:52:20 -0800 |
| commit | 388cdd4571edff6942e7c794540b347b4c04ec2c (patch) | |
| tree | 80a8247f320bae3303130513688040774b14d17d /tools/perf/scripts/python/bin | |
| parent | 6ba5651b46864f38c0a58afce458744b565a31c7 (diff) | |
drm/xe/irq: Always free requested IRQs on uninstall
xe_irq_suspend() clears irq.enabled after disabling and synchronizing the
interrupts. irq_uninstall() currently returns when that flag is clear, so
a suspended device can skip free_irq() during teardown.
The managed uninstall action is registered only after the IRQ request
succeeds. Reset the interrupt registers only when interrupts are still
enabled, but always free the requested IRQs.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
Link: https://patch.msgid.link/20261020040211.496778-1-arvind.yadav@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
(cherry picked from commit 54dcaa48768b6e7761692f0fa10284d6b13636d1)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
