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 16:49:23 -0500 |
commit | d581ceab26a1be9fe94befe2604cbe99eadf1acc (patch) | |
tree | 83d3293e17e4b60e7adf845dc238226ed2c56cd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | |
parent | ca0ad76089a8171d7a075e50b7beecf092f8fd0c (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 'drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c')
0 files changed, 0 insertions, 0 deletions