]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: fix a potential gpu_metrics_table memory leak
authorGong Yuanjun <ruc_gongyuanjun@163.com>
Tue, 17 May 2022 09:57:46 +0000 (17:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:31 +0000 (14:56 -0400)
commit3298ea3fee8c4de6142684079ca8d7048f25c6f7
tree707ef79dca172b43e7df0047bb8a6012bd7e5de0
parentf1b496010adb5c0a26e4bf4f9b76476c4b6acc6e
drm/amd/pm: fix a potential gpu_metrics_table memory leak

gpu_metrics_table is allocated in yellow_carp_init_smc_tables() but
not freed in yellow_carp_fini_smc_tables().

Signed-off-by: Gong Yuanjun <ruc_gongyuanjun@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c