linux/drivers/gpu/drm/amd/pm
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
..
inc drm/amd/pm: avoid duplicate powergate/ungate setting 2021-11-17 17:41:20 -05:00
powerplay drm/amdgpu: correct the wrong cached state for GMC on PICASSO 2021-12-14 17:56:53 -05:00
swsmu drm/amd/pm: fix a potential gpu_metrics_table memory leak 2021-12-14 17:59:19 -05:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00
amdgpu_dpm.c drm/amd/pm: avoid duplicate powergate/ungate setting 2021-11-17 17:41:20 -05:00
amdgpu_pm.c drm/amdgpu/pm: Don't show pp_power_profile_mode for unsupported devices 2021-11-03 12:22:07 -04:00