Skip to content

Commit 179e017

Browse files
committed
drm/xe: Mark G2H work queue with WQ_MEM_RECLAIM
G2H work queue can be used to free memory thus we should allow this work queue to run during reclaim. Mark with G2H work queue with WQ_MEM_RECLAIM appropriately. Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Himal Prasad Ghimiray <[email protected]> Reviewed-by: Badal Nilawar <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 60df57e commit 179e017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_guc_ct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int xe_guc_ct_init(struct xe_guc_ct *ct)
213213

214214
xe_gt_assert(gt, !(guc_ct_size() % PAGE_SIZE));
215215

216-
ct->g2h_wq = alloc_ordered_workqueue("xe-g2h-wq", 0);
216+
ct->g2h_wq = alloc_ordered_workqueue("xe-g2h-wq", WQ_MEM_RECLAIM);
217217
if (!ct->g2h_wq)
218218
return -ENOMEM;
219219

0 commit comments

Comments
 (0)