[PATCH 10/18] fixup! drm/i915: Ensure i915_vma tests do not get -ENOSPC with the locking changes.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Wed Dec 15 14:14:45 UTC 2021
---
drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_mman.c b/drivers/gpu/drm/i915/gem/i915_gem_mman.c
index 00124b996668..a1a4b64a7955 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_mman.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_mman.c
@@ -366,7 +366,7 @@ static vm_fault_t vm_fault_gtt(struct vm_fault *vmf)
if (vma == ERR_PTR(-ENOSPC)) {
ret = mutex_lock_interruptible(&ggtt->vm.mutex);
if (!ret) {
- ret = i915_gem_evict_vm(&ggtt->vm, &ww);
+ ret = i915_gem_evict_vm(&ggtt->vm);
mutex_unlock(&ggtt->vm.mutex);
}
if (ret)
--
2.34.1
More information about the Intel-gfx-trybot
mailing list