projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60df57e
)
drm/xe: Mark G2H work queue with WQ_MEM_RECLAIM
author
Matthew Brost
<matthew.brost@intel.com>
Mon, 21 Oct 2024 17:57:04 +0000
(10:57 -0700)
committer
Matthew Brost
<matthew.brost@intel.com>
Wed, 23 Oct 2024 18:08:07 +0000
(11:08 -0700)
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 <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20241021175705.1584521-4-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_guc_ct.c
b/drivers/gpu/drm/xe/xe_guc_ct.c
index
c260d88
..
1b5d8fb
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/
drivers/gpu/drm/xe/xe_guc_ct.c
@@
-213,7
+213,7
@@
int xe_guc_ct_init(struct xe_guc_ct *ct)
xe_gt_assert(gt, !(guc_ct_size() % PAGE_SIZE));
- ct->g2h_wq = alloc_ordered_workqueue("xe-g2h-wq",
0
);
+ ct->g2h_wq = alloc_ordered_workqueue("xe-g2h-wq",
WQ_MEM_RECLAIM
);
if (!ct->g2h_wq)
return -ENOMEM;