diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-04-23 21:40:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-27 00:22:40 +0300 |
commit | 8e1d1905951dffe4980ed73a330b770281ebac85 (patch) | |
tree | f6060a338888f155fe67ae62f0a1548047c3198d /tools/perf/scripts/python/stackcollapse.py | |
parent | c551316e150bc0e25ec0609fb396cc37fc8e6fc9 (diff) | |
download | linux-8e1d1905951dffe4980ed73a330b770281ebac85.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions