]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Atom Integrated System Info v2_2 for DCN35
authorGabe Teeger <gabe.teeger@amd.com>
Tue, 9 Apr 2024 14:38:58 +0000 (10:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:14:57 +0000 (12:14 +0200)
commitc2797ec16d9072327e7578d09ee05bcab52fffd0
treea71ce3509392239a8998f87e04b46bd52e23c1a6
parentbd7139a70ee8d8ea872b223e043730cf6f5e2b0e
drm/amd/display: Atom Integrated System Info v2_2 for DCN35

[ Upstream commit 9a35d205f466501dcfe5625ca313d944d0ac2d60 ]

New request from KMD/VBIOS in order to support new UMA carveout
model. This fixes a null dereference from accessing
Ctx->dc_bios->integrated_info while it was NULL.

DAL parses through the BIOS and extracts the necessary
integrated_info but was missing a case for the new BIOS
version 2.3.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c