summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_pt.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-07-26 19:33:48 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:37:55 +0300
commit342206b7cc064b8b004474c0baab2c67ced646d0 (patch)
tree51bcfccf8d5338f1d4178eda46d13d24b7483563 /drivers/gpu/drm/xe/xe_pt.c
parentc8dc15464880d725a18593bdfe6651bd235574c3 (diff)
downloadlinux-342206b7cc064b8b004474c0baab2c67ced646d0.tar.xz
drm/xe: Always use xe_vm_queue_rebind_worker helper
Do not queue the rebind worker directly, rather use the helper xe_vm_queue_rebind_worker. This ensures we use the correct work queue. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_pt.c')
-rw-r--r--drivers/gpu/drm/xe/xe_pt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 48a87b50a040..8b75a6145f9b 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -1472,8 +1472,7 @@ __xe_pt_bind_vma(struct xe_tile *tile, struct xe_vma *vma, struct xe_engine *e,
}
if (!rebind && last_munmap_rebind &&
xe_vm_in_compute_mode(vm))
- queue_work(vm->xe->ordered_wq,
- &vm->preempt.rebind_work);
+ xe_vm_queue_rebind_worker(vm);
} else {
kfree(rfence);
kfree(ifence);