summaryrefslogtreecommitdiffstats
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorLang Yu <lang.yu@amd.com>2021-12-14 15:25:54 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-12-14 16:10:08 -0500
commit583637d66a70fc7090e12fb0ebbacc33d39e2214 (patch)
tree6d7ee354edf7fd4bbc020c7b7489959657e246dc /Documentation/gpu
parent948e7ce01413b71395723aaf846015062aea3a43 (diff)
downloadlinux-583637d66a70fc7090e12fb0ebbacc33d39e2214.tar.bz2
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 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions