Re: [PATCH] drm/amdgpu: Fix VRAM memory accounting

2024-04-23 Thread Felix Kuehling
On 2024-04-23 14:56, Mukul Joshi wrote: Subtract the VRAM pinned memory when checking for available memory in amdgpu_amdkfd_reserve_mem_limit function since that memory is not available for use. Signed-off-by: Mukul Joshi Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu

[PATCH] drm/amdgpu: Fix VRAM memory accounting

2024-04-23 Thread Mukul Joshi
Subtract the VRAM pinned memory when checking for available memory in amdgpu_amdkfd_reserve_mem_limit function since that memory is not available for use. Signed-off-by: Mukul Joshi --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -