summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-21 00:53:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-21 00:53:31 +0000
commitf46f4fcfc92fb089c05b84f4d552c61d793b71c4 (patch)
tree348dde95107873fcecbf65a6e4f2653e98508946 /sys/dev
parent141d23acec81311460f1b31d6705f8ab05ae38ec (diff)
drm/i915/gt: Fix -EDEADLK handling regression
From Ville Syrjala 0728df8048060e9bdedb9dd38c62782ee97184ba in linux 5.10.y/5.10.52 2feeb52859fc1ab94cd35b61ada3a6ac4ff24243 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c b/sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c
index b80eb75a897..036beed894e 100644
--- a/sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c
+++ b/sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c
@@ -348,7 +348,7 @@ static struct i915_fence_reg *fence_find(struct i915_ggtt *ggtt)
if (intel_has_pending_fb_unpin(ggtt->vm.i915))
return ERR_PTR(-EAGAIN);
- return ERR_PTR(-EDEADLK);
+ return ERR_PTR(-ENOBUFS);
}
int __i915_vma_pin_fence(struct i915_vma *vma)