projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb88063
)
drm/amdkfd: Cleanup workqueue during module unload
author
Mukul Joshi
<mukul.joshi@amd.com>
Wed, 20 Mar 2024 22:43:14 +0000
(18:43 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 22 Mar 2024 19:54:48 +0000
(15:54 -0400)
Destroy the high priority workqueue that handles interrupts
during KFD node cleanup.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
index dd3c43c1ad70bdb0022f9d3ab533070c5edb87c8..9b6b6e88259348a17e0fff9a1b15f83d098b892c 100644
(file)
--- 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);
}