linux/drivers/gpu/drm/amd
Lang Yu aa464957f7 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: 95868b8576 ("drm/amd/powerplay: add Renoir support for gpu metrics export")

Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-14 17:59:19 -05:00
..
acp
amdgpu drm/amdgpu: correct the wrong cached state for GMC on PICASSO 2021-12-14 17:56:53 -05:00
amdkfd drm/amdkfd: process_info lock not needed for svm 2021-12-01 17:09:58 -05:00
display drm/amd/display: Reset DMCUB before HW init 2021-12-14 17:55:13 -05:00
include drm/amd/pm: avoid duplicate powergate/ungate setting 2021-11-17 17:41:20 -05:00
pm drm/amd/pm: fix a potential gpu_metrics_table memory leak 2021-12-14 17:59:19 -05:00