diff options
author | Felix Kuehling <[email protected]> | 2021-11-04 15:11:04 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-05 14:12:45 -0400 |
commit | 5702d052959f9d711698e2fc86a706db87e9d646 (patch) | |
tree | 57ef454d2ad17ec82ad8e45374974dda76efb155 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b8c20c74ab8c765b29fb253f6da4b0e59d9bdf3d (diff) |
drm/amdgpu: Fix dangling kfd_bo pointer for shared BOs
If a kfd_bo was shared (e.g. a dmabuf export), the original kfd_bo may be
freed when the amdgpu_bo still lives on. Free the kfd_bo struct in the
release_notify callback then the amdgpu_bo is freed.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-By: Ramesh Errabolu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions