Skip to content

Commit e1aadba

Browse files
xinhui panalexdeucher
authored andcommitted
drm/amdgpu: Remove one duplicated ef removal
That has been done in BO release notify. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2074 Signed-off-by: xinhui pan <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2d4bd81 commit e1aadba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,16 +1364,10 @@ void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev,
13641364
struct amdgpu_vm *vm)
13651365
{
13661366
struct amdkfd_process_info *process_info = vm->process_info;
1367-
struct amdgpu_bo *pd = vm->root.bo;
13681367

13691368
if (!process_info)
13701369
return;
13711370

1372-
/* Release eviction fence from PD */
1373-
amdgpu_bo_reserve(pd, false);
1374-
amdgpu_bo_fence(pd, NULL, false);
1375-
amdgpu_bo_unreserve(pd);
1376-
13771371
/* Update process info */
13781372
mutex_lock(&process_info->lock);
13791373
process_info->n_vms--;

0 commit comments

Comments
 (0)