drm/amdkfd: correct amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu log.
authorYifan Zhang <yifan1.zhang@amd.com>
Mon, 14 Dec 2020 09:45:20 +0000 (17:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:35:29 +0000 (11:35 -0500)
it could also be insufficient vram that makes
amdgpu_amdkfd_reserve_mem_limit fail.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c

index 7791d07..2d991da 100644 (file)
@@ -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;
        }