diff options
author | ZhenGuo Yin <zhenguo.yin@amd.com> | 2023-11-06 13:07:51 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-30 00:49:23 +0300 |
commit | d581ceab26a1be9fe94befe2604cbe99eadf1acc (patch) | |
tree | 83d3293e17e4b60e7adf845dc238226ed2c56cd0 /drivers/gpu/drm/amd/display/dc/dsc | |
parent | ca0ad76089a8171d7a075e50b7beecf092f8fd0c (diff) | |
download | linux-d581ceab26a1be9fe94befe2604cbe99eadf1acc.tar.xz |
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/display/dc/dsc')
0 files changed, 0 insertions, 0 deletions