1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/swsmu
Christophe JAILLET a5467ebd68 drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
'watermarks_table' must be freed instead 'clocks_table', because
'clocks_table' is known to be NULL at this point and 'watermarks_table' is
never freed if the last kzalloc fails.

Fixes: c98ee89736 ("drm/amd/pm: add the fine grain tuning function for vangogh")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-08-05 21:18:00 -04:00
..
smu11 drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()' 2021-08-05 21:18:00 -04:00
smu12 drm/amd/pm: support ss metrics read on renoir 2021-06-11 16:03:52 -04:00
smu13 drm/amd/pm: correct aldebaran smu feature mapping FEATURE_DATA_CALCULATIONS 2021-08-05 21:17:58 -04:00
amdgpu_smu.c drm/amd/pm: restore user customized OD settings properly for NV1x 2021-07-28 16:37:18 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00
smu_cmn.c drm/amd/pm: Fix a bug in semaphore double-lock 2021-07-28 22:15:44 -04:00
smu_cmn.h drm/amd/pm: Fix a bug communicating with the SMU (v5) 2021-07-23 10:09:28 -04:00
smu_internal.h drm/amd/pm: correct the power limits reporting on OOB supported 2021-06-11 16:03:09 -04:00