artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1d9f4
)
drm/amdgpu: Remove one duplicated ef removal
author
jsg
<jsg@openbsd.org>
Thu, 18 Aug 2022 00:46:01 +0000
(
00:46
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 18 Aug 2022 00:46:01 +0000
(
00:46
+0000)
From xinhui pan
e45491556e2ae96d02eb4ccf18a5cc6ff2d30edc
in linux 5.15.y/5.15.61
e1aadbab445b06e072013a1365fd0cf2aa25e843
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
index
898a235
..
8bbc279
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
@@
-1318,16
+1318,10
@@
void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev,
struct amdgpu_vm *vm)
{
struct amdkfd_process_info *process_info = vm->process_info;
- struct amdgpu_bo *pd = vm->root.bo;
if (!process_info)
return;
- /* Release eviction fence from PD */
- amdgpu_bo_reserve(pd, false);
- amdgpu_bo_fence(pd, NULL, false);
- amdgpu_bo_unreserve(pd);
-
/* Update process info */
mutex_lock(&process_info->lock);
process_info->n_vms--;