drm/amdkfd: Cleanup workqueue during module unload
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>
This commit is contained in:
committed by
Alex Deucher
parent
fb880635e0
commit
417f78a2a1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user