diff options
| author | Alice Wong <[email protected]> | 2022-04-27 21:03:54 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 09:55:07 -0400 |
| commit | e2c34219d16e8c3710278b4e23ebd5bc1ec7b804 (patch) | |
| tree | fb52908aebcf0d22250faef801727731f501a202 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | da40bf8f9376370b5bc2fda07aadaaddc308b1eb (diff) | |
drm/amdgpu/psp: deallocate memory when psp_load_fw failed
psp_load_fw failure would cause memory leak for psp tmr and psp ring
because psp_hw_init is not called as psp block is not fully initialized.
Clean up psp tmr and psp ring when psp_load_fw fail by calling
psp_free_shared_bufs and psp_ring_destroy.
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alice Wong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions