]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Support parsing VRAM info v3.0 from VBIOS
authorGeorge Shen <george.shen@amd.com>
Wed, 2 Nov 2022 19:06:48 +0000 (15:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 18:16:04 +0000 (13:16 -0500)
commit568b8151f7e608c338d8e55c128fa4fc87998a25
tree50abd972d1f349401ec2db3ed3567f4ca2c69cc4
parent6f668793109f145a67ca0a5f494c5a6747802f62
drm/amd/display: Support parsing VRAM info v3.0 from VBIOS

[Why]
For DCN3.2 and DCN3.21, VBIOS has switch to using v3.0 of the VRAM
info struct. We should read and override the VRAM info in driver with
values provided by VBIOS to support memory downbin cases.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c