artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd05515
)
drm/i915: Reserve enough fence slot for i915_vma_unbind_async
author
jsg
<jsg@openbsd.org>
Wed, 18 Jan 2023 23:56:45 +0000
(23:56 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 18 Jan 2023 23:56:45 +0000
(23:56 +0000)
From Nirmoy Das
8874730ecefe295931a681a0ae749cda53653078
in linux-6.1.y/6.1.7
476fdcdaaae7b06c780cdfc234c704107f16c529
in mainline linux
sys/dev/pci/drm/i915/i915_vma.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_vma.c
b/sys/dev/pci/drm/i915/i915_vma.c
index
45c72f2
..
138724f
100644
(file)
--- a/
sys/dev/pci/drm/i915/i915_vma.c
+++ b/
sys/dev/pci/drm/i915/i915_vma.c
@@
-2157,7
+2157,7
@@
int i915_vma_unbind_async(struct i915_vma *vma, bool trylock_vm)
if (!obj->mm.rsgt)
return -EBUSY;
- err = dma_resv_reserve_fences(obj->base.resv,
1
);
+ err = dma_resv_reserve_fences(obj->base.resv,
2
);
if (err)
return -EBUSY;