aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2022-11-04 17:50:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-09 17:41:42 -0500
commit10276a20be1115e1f76c189330da2992df980eee (patch)
tree4546a423e22e5e12cd61f0f722506307c7fa02de /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parent4b31b92b143f7d209f3d494c56d4c4673e9fc53d (diff)
downloadlinux-10276a20be1115e1f76c189330da2992df980eee.tar.gz
linux-10276a20be1115e1f76c189330da2992df980eee.tar.bz2
linux-10276a20be1115e1f76c189330da2992df980eee.zip
drm/radeon: Add the missed acpi_put_table() to fix memory leak
When the radeon driver reads the bios information from ACPI table in radeon_acpi_vfct_bios(), it misses to call acpi_put_table() to release the ACPI memory after the init, so add acpi_put_table() properly to fix the memory leak. v2: fix text formatting (Alex) Fixes: 268ba0a99f89 ("drm/radeon: implement ACPI VFCT vbios fetch (v3)") Signed-off-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions