mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm/swsmu
Dinghao Liu b0e5c88d8a drm/amd/pm: fix a memleak in aldebaran_tables_init
When kzalloc() for smu_table->ecc_table fails, we should free
the previously allocated resources to prevent memleak.

Fixes: edd7942085 ("drm/amd/pm: add message smu to get ecc_table v2")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-11-29 16:49:22 -05:00
..
inc drm/amdgpu: optimize RLC powerdown notification on Vangogh 2023-11-29 16:48:58 -05:00
smu11 drm/amdgpu: optimize RLC powerdown notification on Vangogh 2023-11-29 16:48:58 -05:00
smu12 drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
smu13 drm/amd/pm: fix a memleak in aldebaran_tables_init 2023-11-29 16:49:22 -05:00
smu14 drm/amd/swsmu: update smu v14_0_0 driver if and metrics table 2023-11-03 12:18:33 -04:00
amdgpu_smu.c drm/amdgpu: optimize RLC powerdown notification on Vangogh 2023-11-29 16:48:58 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00
smu_cmn.c drm/amd/swsmu: update smu v14_0_0 driver if and metrics table 2023-11-03 12:18:33 -04:00
smu_cmn.h drm/amd/pm: Update pci link speed for smu v13.0.6 2023-08-16 11:34:37 -04:00
smu_internal.h drm/amdgpu: optimize RLC powerdown notification on Vangogh 2023-11-29 16:48:58 -05:00