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)
commit1c01a45a86ed6991953e74be63b6a7e33b387954
treed9c2d344de8df386de2afc06063f72898b3643e0
parentb8b6ce89016485cb92fdf2f527b40249aefbc470
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