diff options
author | Lang Yu <lang.yu@amd.com> | 2021-12-14 15:25:54 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-14 17:59:19 -0500 |
commit | aa464957f7e660abd554f2546a588f6533720e21 (patch) | |
tree | 7208538cd10398e6967c21d8fe00b69ff3b3a3d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 17c65d6fca844ee72a651944d8ce721e9040bf70 (diff) |
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 <lang.yu@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions