drm/amdkfd: correct amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu log.
Subsystems (3)
PATCH 1/1 drm/amdkfd: correct amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu log.
it could also be insufficient vram that makesamdgpu_amdkfd_reserve_mem_limit fail.
Signed-off-by Yifan Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +1 -1
@@ -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; }
Signature · 6 lines
2.25.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 2020-12-14 um 4:52 a.m. schrieb Yifan Zhang:
Quoted 4 lines
it could also be insufficient vram that makes
amdgpu_amdkfd_reserve_mem_limitfail.Signed-off-by Yifan Zhang <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c int amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu( · line 1219
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +1
-1@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx