diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-04-23 14:40:37 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:40 -0400 |
commit | 8e1d1905951dffe4980ed73a330b770281ebac85 (patch) | |
tree | f6060a338888f155fe67ae62f0a1548047c3198d /drivers/gpu/drm/xe | |
parent | c551316e150bc0e25ec0609fb396cc37fc8e6fc9 (diff) |
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/xe')
0 files changed, 0 insertions, 0 deletions