Reviewed-by: Andrey Grodzovsky <[email protected]>

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 <[email protected]>
> ---
>   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);
>   
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to