diff options
author | Christian König <[email protected]> | 2023-12-08 13:43:09 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-12-13 16:08:01 -0500 |
commit | 683b8c7e7a94fb7445b8d300c7404322ad040bab (patch) | |
tree | aaf99619fe1a98bb58079ca669162d6ab7f6a904 /tools/perf/scripts/python/task-analyzer.py | |
parent | 73e5ea616a9f8c261d07e63b421947949ad6cbce (diff) |
drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
When freeing PD/PT with shadows it can happen that the shadow
destruction races with detaching the PD/PT from the VM causing a NULL
pointer dereference in the invalidation code.
Fix this by detaching the the PD/PT from the VM first and then
freeing the shadow instead.
Signed-off-by: Christian König <[email protected]>
Fixes: https://gitlab.freedesktop.org/drm/amd/-/issues/2867
Cc: <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions