commit | 72838777aa38352e20301e123b97110c456cd38e | [log] [tgz] |
---|---|---|
author | ZhenGuo Yin <[email protected]> | Mon Nov 06 18:07:51 2023 +0800 |
committer | Alex Deucher <[email protected]> | Wed Nov 29 18:12:29 2023 -0500 |
tree | 0c6408213a895cf9b20287bba4c39286dcc1c13f | |
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 <[email protected]> Signed-off-by: ZhenGuo Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>