]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 21:51:19 +0000 (17:51 -0400)
commit32e7ee293ff476c67b51be006e986021967bc525
treeca32ec71b8652f4edd1c5923afd856e7b488ecdc
parent591aec150a984edcad99553ad9913abbfb8ab747
drm/amdgpu: Dereference the ATCS ACPI buffer

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c