diff options
| author | Lang Yu <[email protected]> | 2021-12-14 07:25:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-14 21:10:08 +0000 |
| commit | 583637d66a70fc7090e12fb0ebbacc33d39e2214 (patch) | |
| tree | 6d7ee354edf7fd4bbc020c7b7489959657e246dc /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV (diff) | |
| download | kernel-583637d66a70fc7090e12fb0ebbacc33d39e2214.tar.gz kernel-583637d66a70fc7090e12fb0ebbacc33d39e2214.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_device.c')
0 files changed, 0 insertions, 0 deletions
