Re: [PATCH 1/1] drm/amd/pm: fix a potential gpu_metrics_table memory leak

2022-05-17 Thread Alex Deucher
Applied. Thanks! On Tue, May 17, 2022 at 9:13 AM Yuanjun Gong wrote: > > From: Gong Yuanjun > > 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 > --- > drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_c

Re: [PATCH 1/1] drm/amd/pm: fix a potential gpu_metrics_table memory leak

2022-05-17 Thread Greg KH
On Tue, May 17, 2022 at 05:57:46PM +0800, Yuanjun Gong wrote: > From: Gong Yuanjun > > 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 > --- > drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c

[PATCH 1/1] drm/amd/pm: fix a potential gpu_metrics_table memory leak

2022-05-17 Thread Yuanjun Gong
From: Gong Yuanjun 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 --- drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/