]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Dereference the ATCS ACPI buffer
authorPrike Liang <Prike.Liang@amd.com>
Thu, 17 Oct 2024 06:54:31 +0000 (14:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:38 +0000 (19:51 +0100)
commit905dc479b64833d28ebbfc8bb388432e7a0593b6
treeea455068bea183d858c4ef8d4b4c3b43d5a2983b
parent80aa90210a7ad6b11be2e225cea1a36512b14ca0
drm/amdgpu: Dereference the ATCS ACPI buffer

[ Upstream commit 32e7ee293ff476c67b51be006e986021967bc525 ]

Need to dereference the atcs acpi buffer after
the method is executed, otherwise it will result in
a memory leak.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c