Am 2020-12-14 um 4:52 a.m. schrieb Yifan Zhang:
> it could also be insufficient vram that makes
> amdgpu_amdkfd_reserve_mem_limit fail.
>
> Signed-off-by: Yifan Zhang <yifan1.zh...@amd.com>

Reviewed-by: Felix Kuehling <felix.kuehl...@amd.com>


> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index e54883ff74d2..99ad4e1d0896 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -1213,7 +1213,7 @@ int amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu(
>  
>       ret = amdgpu_amdkfd_reserve_mem_limit(adev, size, alloc_domain, !!sg);
>       if (ret) {
> -             pr_debug("Insufficient system memory\n");
> +             pr_debug("Insufficient memory\n");
>               goto err_reserve_limit;
>       }
>  
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to