Skip to content

Commit 9a35d20

Browse files
Gabe Teegeralexdeucher
authored andcommitted
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>
1 parent a01b64f commit 9a35d20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,6 +2948,7 @@ static enum bp_result construct_integrated_info(
29482948
result = get_integrated_info_v2_1(bp, info);
29492949
break;
29502950
case 2:
2951+
case 3:
29512952
result = get_integrated_info_v2_2(bp, info);
29522953
break;
29532954
default:

0 commit comments

Comments
 (0)