]> git.dujemihanovic.xyz Git - linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 May 2024 01:35:15 +0000 (21:35 -0400)
commit9a35d205f466501dcfe5625ca313d944d0ac2d60
tree662f46378270cd998f5d883d91b04bc1bcc9ed5d
parenta01b64f31d65bdc917d1afb4cec9915beb6931be
drm/amd/display: Atom Integrated System Info v2_2 for DCN35

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>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c