diff options
| author | Lang Yu <[email protected]> | 2021-12-14 07:25:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-14 22:59:19 +0000 |
| commit | aa464957f7e660abd554f2546a588f6533720e21 (patch) | |
| tree | 7208538cd10398e6967c21d8fe00b69ff3b3a3d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
| parent | drm/amdgpu: correct the wrong cached state for GMC on PICASSO (diff) | |
| download | kernel-aa464957f7e660abd554f2546a588f6533720e21.tar.gz kernel-aa464957f7e660abd554f2546a588f6533720e21.zip | |
drm/amd/pm: fix a potential gpu_metrics_table memory leak
Memory is allocated for gpu_metrics_table in renoir_init_smc_tables(),
but not freed in int smu_v12_0_fini_smc_tables(). Free it!
Fixes: 95868b85764a ("drm/amd/powerplay: add Renoir support for gpu metrics export")
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions
