1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd
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
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate() 2021-08-05 21:18:00 -04:00
amdkfd drm/amdkfd: Expose GFXIP engine version to sysfs 2021-08-05 21:18:00 -04:00
display drm/amdgpu/display: fix DMUB firmware version info 2021-08-05 21:17:59 -04:00
include drm/amdgpu: set RAS EEPROM address from VBIOS 2021-08-05 21:17:59 -04:00
pm drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()' 2021-08-05 21:18:00 -04:00