Skip to contentSkip to conversation

drm/xe: Remove redundant rebind from preempt rebind worker

PATCH New Matthew Brost 1 participant 1 message Nov 12, 2024

Subsystems (2)
lore
Share & tools
lore

Matthew Brost

author maintainer
#0 lore raw

PATCH 1/1 drm/xe: Remove redundant rebind from preempt rebind worker

We issue a rebind in xe_preempt_work_begin so no need to call xe_vm_rebind again in the preempt rebind worker.

---
 drivers/gpu/drm/xe/xe_vm.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/xe/xe_vm.c +0 -4
index 624133fae5f5..756c72cd6048 100644
@@ -525,10 +525,6 @@ static void preempt_rebind_work_func(struct work_struct *w)
 	if (err)
 		goto out_unlock;
 
-	err = xe_vm_rebind(vm, true);
-	if (err)
-		goto out_unlock;
-
 	/* Wait on rebinds and munmap style VM unbinds */
 	wait = dma_resv_wait_timeout(xe_vm_resv(vm),
 				     DMA_RESV_USAGE_KERNEL,
Signature · 1 line
2.34.1