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 <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Gabe Teeger <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent a01b64f commit 9a35d20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)