[PATCH] drm/amdgpu: Remove one duplicated ef removal

Felix Kuehling felix.kuehling at amd.com
Fri Jul 8 21:00:53 UTC 2022


On 2022-07-07 21:53, xinhui pan wrote:
> That has been done in BO release notify.
>
> Signed-off-by: xinhui pan <xinhui.pan at amd.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>


> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index 0f9811d02f61..49536fa8d269 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -1583,11 +1583,6 @@ void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev,
>   	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--;


More information about the amd-gfx mailing list