[PATCH] drm/amdkfd: correct amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu log.
Felix Kuehling
felix.kuehling at amd.com
Mon Dec 14 18:20:46 UTC 2020
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.zhang at amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling at 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;
> }
>
More information about the amd-gfx
mailing list