summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2024-04-23 21:40:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-30 10:48:53 +0300
commit1a591b6852da46f569a138b5ff681fa68fa17d6f (patch)
tree04472e752f6ecfc15c632c3735c8acc1f0dbf089 /virt
parent438b584f32eae4033a7b31b082c259447edd7bf1 (diff)
downloadlinux-1a591b6852da46f569a138b5ff681fa68fa17d6f.tar.xz
drm/amdgpu: Fix VRAM memory accounting
[ Upstream commit f06446ef23216090d1ee8ede1a7d7ae430c22dcc ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions