summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2022-07-26 08:32:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-28 23:05:16 +0300
commit0dc204bc3f199de0a0924f3d5f7c26295e5c012e (patch)
tree707a5596415a8b735ffd7cb9789560c46a565d0c /tools/perf/scripts/python/check-perf-trace.py
parent3d2af401cf851be0bf2d4d89af6f120819b786a7 (diff)
downloadlinux-0dc204bc3f199de0a0924f3d5f7c26295e5c012e.tar.xz
drm/amdkfd: fix kgd_mem memory leak when importing dmabuf
The kgd_mem memory allocated in amdgpu_amdkfd_gpuvm_import_dmabuf() is not freed properly. Explicitly free it in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() under condition "mem->bo->kfd_bo != mem". Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Lang Yu <Lang.Yu@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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions