artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fce72c
)
drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
author
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:46:37 +0000
(
03:46
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:46:37 +0000
(
03:46
+0000)
From Srinivasan Shanmugam
ff5aefbbd82ea7eee61606ff7cce56bfac269010
in linux-6.6.y/6.6.16
bf2ad4fb8adca89374b54b225d494e0b1956dbea
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
index
6c5cd76
..
6a7b64a
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
@@
-90,7
+90,7
@@
struct amdgpu_amdkfd_fence *to_amdgpu_amdkfd_fence(struct dma_fence *f)
return NULL;
fence = container_of(f, struct amdgpu_amdkfd_fence, base);
- if (f
ence && f
->ops == &amdkfd_fence_ops)
+ if (f->ops == &amdkfd_fence_ops)
return fence;
return NULL;