aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2023-11-23 07:33:22 +0000
committerAlex Deucher <[email protected]>2023-11-29 21:49:22 +0000
commitb0e5c88d8a88bdcc9834409387e10a5ae1b2753e (patch)
treec94dd2c12659a8c5364f559ab8bd2d4db1c202f2 /drivers/gpu/drm/amd/amdgpu
parentdrm/amdgpu: fix AGP addressing when GART is not at 0 (diff)
downloadkernel-b0e5c88d8a88bdcc9834409387e10a5ae1b2753e.tar.gz
kernel-b0e5c88d8a88bdcc9834409387e10a5ae1b2753e.zip
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: edd794208555 ("drm/amd/pm: add message smu to get ecc_table v2") Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions