drm/amd/display: parse umc_info or vram_info based on ASIC
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Fri, 18 Oct 2024 14:52:16 +0000 (10:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 16:36:59 +0000 (11:36 -0500)
commit2551b4a321a68134360b860113dd460133e856e5
treeacf85d99e4d416efe3fa22eb3cb4fa0f2a993039
parent583c21c2b2595d7bf9542a9406294d2fe16b6f01
drm/amd/display: parse umc_info or vram_info based on ASIC

An upstream bug report suggests that there are production dGPUs that are
older than DCN401 but still have a umc_info in VBIOS tables with the
same version as expected for a DCN401 product. Hence, reading this
tables should be guarded with a version check.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3678
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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