[PATCH 39/39] seres

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 5 20:42:38 UTC 2020


---
 drivers/gpu/drm/i915/i915_vma.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c
index eb3d158acba5..b4f579ff2829 100644
--- a/drivers/gpu/drm/i915/i915_vma.c
+++ b/drivers/gpu/drm/i915/i915_vma.c
@@ -1395,15 +1395,6 @@ int __i915_vma_unbind(struct i915_vma *vma)
 	} while (!atomic_try_cmpxchg(&vma->flags,
 				     &bound, bound | I915_VMA_ERROR));
 
-	/*
-	 * After confirming that no one else is pinning this vma, wait for
-	 * any laggards who may have crept in during the wait (through
-	 * a residual pin skipping the vm->mutex) to complete.
-	 */
-	ret = i915_vma_sync(vma);
-	if (ret)
-		return ret;
-
 	GEM_BUG_ON(i915_vma_is_active(vma));
 	__i915_vma_evict(vma);
 
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list