mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
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
legacy-dpm drm/amd: Drop all hand-built MIN and MAX macros in the amdgpu base driver 2023-10-04 18:39:52 -04:00
powerplay drm/amd/pm: Fix return value and drop redundant param 2023-11-17 09:29:53 -05:00
swsmu drm/amd/pm: fix a memleak in aldebaran_tables_init 2023-11-29 16:49:22 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu: optimize RLC powerdown notification on Vangogh 2023-11-29 16:48:58 -05:00
amdgpu_pm.c drm/amd/pm: Add sysfs attribute to get pm metrics 2023-11-29 16:24:02 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00