]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add functionality to get XGMI SS info
authorLeo Li <sunpeng.li@amd.com>
Wed, 31 Oct 2018 21:07:41 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2018 22:39:56 +0000 (17:39 -0500)
commit929750e612f12deeb5d0f2e46b08bafe91432734
treed9c2d344de8df386de2afc06063f72898b3643e0
parent7e3f19ebd80a4e162bad83ee7c7754b86b3a55e8
drm/amd/display: Add functionality to get XGMI SS info

[Why]
When XGMI is enabled, the DP reference clock needs to be adjusted
according to the XGMI spread spectrum percentage and mode. But first,
we need the ability to fetch this info.

[How]
Within the BIOS parser, Read from vBIOS when XGMI SS info is requested.

In addition, diags build uses include_legacy/atomfirmware.h for the
smu_info_v3_3 table headers. Update that as well.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/include/bios_parser_types.h