diff options
author | ZhenGuo Yin <zhenguo.yin@amd.com> | 2023-11-06 18:07:51 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 18:12:29 -0500 |
commit | 72838777aa38352e20301e123b97110c456cd38e (patch) | |
tree | 0c6408213a895cf9b20287bba4c39286dcc1c13f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e0409021e34af50e7b6f31635c8d21583d7c43dd (diff) |
drm/amdkfd: Free gang_ctx_bo and wptr_bo in pqm_uninit
[Why]
Memory leaks of gang_ctx_bo and wptr_bo.
[How]
Free gang_ctx_bo and wptr_bo in pqm_uninit.
v2: add a common function pqm_clean_queue_resource to
free queue's resources.
v3: reset pdd->pqd.num_gws when destorying GWS queue.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions