]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/pm: Free SMUv13.0.6 resources on failure
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 12 Aug 2025 07:51:49 +0000 (13:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Aug 2025 17:05:14 +0000 (13:05 -0400)
commit8a358aaa5d171512c07e8eb87b4600ebc844e6c7
treefc1c8099b65fe05e6ce16d48e16e7dbe9208a2fe
parent655d6403ad143feffb2d747b9eb9a0ce4e12b713
drm/amd/pm: Free SMUv13.0.6 resources on failure

Free the resources allocated if smu_v13_0_12_tables_init fails.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Fixes: 5bf93e1d6efd ("drm/amd/pm: Add caching to SMUv13.0.12 temp metric")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c