[PATCH] drm/amdgpu: Remove the additional kfd pre reset call for sriov

Felix Kuehling felix.kuehling at amd.com
Thu Aug 18 18:56:13 UTC 2022


Am 2022-08-18 um 14:19 schrieb shaoyunl:
> The additional call is caused by merge conflict
>
> Signed-off-by: shaoyunl <shaoyun.liu at amd.com>

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


> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 4cd87dbb108c..d7eb23b8d692 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -4417,8 +4417,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,
>   retry:
>   	amdgpu_amdkfd_pre_reset(adev);
>   
> -	amdgpu_amdkfd_pre_reset(adev);
> -
>   	if (from_hypervisor)
>   		r = amdgpu_virt_request_full_gpu(adev, true);
>   	else


More information about the amd-gfx mailing list