diff options
author | Mukul Joshi <[email protected]> | 2024-03-20 18:43:14 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-03-22 15:54:48 -0400 |
commit | 417f78a2a1c8c2d517db8b2e04785c1c94a563b4 (patch) | |
tree | 97b6f59e558b86d8096aa1fca70fedcb3d99526c | |
parent | fb880635e08f28e18cba28db1f6e11bd4bb8828e (diff) |
drm/amdkfd: Cleanup workqueue during module unload
Destroy the high priority workqueue that handles interrupts
during KFD node cleanup.
Signed-off-by: Mukul Joshi <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c index dd3c43c1ad70..9b6b6e882593 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c @@ -104,6 +104,8 @@ void kfd_interrupt_exit(struct kfd_node *node) */ flush_workqueue(node->ih_wq); + destroy_workqueue(node->ih_wq); + kfifo_free(&node->ih_fifo); } |