aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorMukul Joshi <[email protected]>2024-04-23 18:40:37 +0000
committerAlex Deucher <[email protected]>2024-04-26 21:22:40 +0000
commit8e1d1905951dffe4980ed73a330b770281ebac85 (patch)
treef6060a338888f155fe67ae62f0a1548047c3198d /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parentdrm/amdgpu: update jpeg max decode resolution (diff)
downloadkernel-8e1d1905951dffe4980ed73a330b770281ebac85.tar.gz
kernel-8e1d1905951dffe4980ed73a330b770281ebac85.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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions