aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2024-04-23 14:40:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-30 21:22:50 -0400
commitf06446ef23216090d1ee8ede1a7d7ae430c22dcc (patch)
treeba1ae1a43c4325f411a3c10366df77327987eaae /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parente67572cd2204894179d89bd7b984072f19313b03 (diff)
downloadlinux-f06446ef23216090d1ee8ede1a7d7ae430c22dcc.tar.gz
linux-f06446ef23216090d1ee8ede1a7d7ae430c22dcc.tar.bz2
linux-f06446ef23216090d1ee8ede1a7d7ae430c22dcc.zip
drm/amdgpu: Fix VRAM memory accounting
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 <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions