]> 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)
commitc72ec776ae001d1e597facfd089f3df5ef2a7d22
treed9c2d344de8df386de2afc06063f72898b3643e0
parentf99e72f755cf8a4590e18154e60e8f997c3d48a3
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