]> 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)
commitaeb19241971bc6730963e010c9c10e415174d517
tree707ef79dca172b43e7df0047bb8a6012bd7e5de0
parent51d6457f76aac708dbf79600440bd9e187dcb5e3
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