summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/cik_sdma.c
diff options
context:
space:
mode:
authorZhenGuo Yin <zhenguo.yin@amd.com>2023-11-06 13:07:51 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-11-30 02:12:29 +0300
commit72838777aa38352e20301e123b97110c456cd38e (patch)
tree0c6408213a895cf9b20287bba4c39286dcc1c13f /drivers/gpu/drm/radeon/cik_sdma.c
parente0409021e34af50e7b6f31635c8d21583d7c43dd (diff)
downloadlinux-72838777aa38352e20301e123b97110c456cd38e.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/radeon/cik_sdma.c')
0 files changed, 0 insertions, 0 deletions