artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79837c4
)
drm/amdgpu: Let KFD sync with VM fences
author
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:40:18 +0000
(
03:40
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:40:18 +0000
(
03:40
+0000)
From Felix Kuehling
0d35c8977be8f220931d437d568f64a7028d0115
in linux-6.6.y/6.6.16
ec9ba4821fa52b5efdbc4cdf0a77497990655231
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
index
8b3b7b2
..
5981877
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
@@
-195,7
+195,8
@@
static bool amdgpu_sync_test_fence(struct amdgpu_device *adev,
/* Never sync to VM updates either. */
if (fence_owner == AMDGPU_FENCE_OWNER_VM &&
- owner != AMDGPU_FENCE_OWNER_UNDEFINED)
+ owner != AMDGPU_FENCE_OWNER_UNDEFINED &&
+ owner != AMDGPU_FENCE_OWNER_KFD)
return false;
/* Ignore fences depending on the sync mode */