]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: DIO memory leak fix.
authorBhuvanachandra Pinninti <bpinnint@amd.com>
Fri, 23 Jan 2026 10:43:01 +0000 (16:13 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Feb 2026 21:43:32 +0000 (16:43 -0500)
commit22bd5f691665b3d427d21db077698d580a5e5266
treeeb5db6dffcec13fb3ffd9b297fcf8b680e228793
parent1e5a335e2436a263cdc5c27ea7bbb0aa8137346a
drm/amd/display: DIO memory leak fix.

[why]
Allocated memory for dcn10_dio but not freed in dcn401_resource.

[how]
Add kfree for it in dcn401_resource.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Bhuvanachandra Pinninti <bpinnint@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c