diff options
author | Mukul Joshi <[email protected]> | 2024-04-23 14:40:37 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-04-26 17:22:40 -0400 |
commit | 8e1d1905951dffe4980ed73a330b770281ebac85 (patch) | |
tree | f6060a338888f155fe67ae62f0a1548047c3198d /tools/testing/selftests/bpf/progs/test_autoload.c | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions