[PATCH] drm/amdkfd: remove unnecessary warning message on gpu reset

Grodzovsky, Andrey Andrey.Grodzovsky at amd.com
Wed Jun 26 17:50:48 UTC 2019


Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>

Andrey

On 6/26/19 1:50 PM, Liu, Shaoyun wrote:
> In XGMI configuration, more than one asic can be reset at same time,
> kfd is able to handle this and no need to trigger the warning
>
> Change-Id: If339503860e86ee1dbeed294ba1c103fcce70b7b
> Signed-off-by: shaoyunl <shaoyun.liu at amd.com>
> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index 26ea46d..2e2f724 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -738,7 +738,6 @@ int kgd2kfd_post_reset(struct kfd_dev *kfd)
>   	if (ret)
>   		return ret;
>   	count = atomic_dec_return(&kfd_locked);
> -	WARN_ONCE(count != 0, "KFD reset ref. error");
>   
>   	atomic_set(&kfd->sram_ecc_flag, 0);
>   


More information about the amd-gfx mailing list