Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gabe Teeger and committed by
Alex Deucher
9a35d205 a01b64f3

+1
+1
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
··· 2948 2948 result = get_integrated_info_v2_1(bp, info); 2949 2949 break; 2950 2950 case 2: 2951 + case 3: 2951 2952 result = get_integrated_info_v2_2(bp, info); 2952 2953 break; 2953 2954 default: