artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78887e0
)
drm/i915: Retry gtt fault when out of fence registers
author
jsg
<jsg@openbsd.org>
Mon, 30 Oct 2023 00:56:47 +0000
(
00:56
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 30 Oct 2023 00:56:47 +0000
(
00:56
+0000)
From Ville Syrjala
add2eeda1d6e3ead1d61db70e37615e5ef6c5e75
in linux-6.1.y/6.1.60
e339c6d628fe66c9b64bf31040a55770952aec57
in mainline linux
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gem/i915_gem_mman.c
b/sys/dev/pci/drm/i915/gem/i915_gem_mman.c
index
bae805b
..
ab8a3e0
100644
(file)
--- a/
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
+++ b/
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
@@
-270,6
+270,7
@@
static vm_fault_t i915_error_to_vmf_fault(int err)
case 0:
case -EAGAIN:
case -ENOSPC: /* transient failure to evict? */
+ case -ENOBUFS: /* temporarily out of fences? */
case -ERESTARTSYS:
case -EINTR:
case -EBUSY:
@@
-548,6
+549,7
@@
static int i915_error_to_vmf_fault(int err)
case 0:
case -EAGAIN:
case -ENOSPC: /* transient failure to evict? */
+ case -ENOBUFS: /* temporarily out of fences? */
case -ERESTART:
case -EINTR:
case -EBUSY: