diff options
| author | ZhenGuo Yin <[email protected]> | 2023-11-06 10:07:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-11-29 21:49:23 +0000 |
| commit | d581ceab26a1be9fe94befe2604cbe99eadf1acc (patch) | |
| tree | 83d3293e17e4b60e7adf845dc238226ed2c56cd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: Update EEPROM I2C address for smu v13_0_0 (diff) | |
| download | kernel-d581ceab26a1be9fe94befe2604cbe99eadf1acc.tar.gz kernel-d581ceab26a1be9fe94befe2604cbe99eadf1acc.zip | |
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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
