Home
last modified time | relevance | path

Searched refs:xe_destroy_wq (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_module.c95 static struct workqueue_struct *xe_destroy_wq; variable
99 xe_destroy_wq = alloc_workqueue("xe-guc-destroy-wq", WQ_UNBOUND, 0); in xe_destroy_wq_module_init()
100 if (!xe_destroy_wq) in xe_destroy_wq_module_init()
107 if (xe_destroy_wq) in xe_destroy_wq_module_exit()
108 destroy_workqueue(xe_destroy_wq); in xe_destroy_wq_module_exit()
109 xe_destroy_wq = NULL; in xe_destroy_wq_module_exit()
124 return queue_work(xe_destroy_wq, work); in xe_destroy_wq_queue()
135 if (xe_destroy_wq) in xe_destroy_wq_flush()
136 flush_workqueue(xe_destroy_wq); in xe_destroy_wq_flush()