summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/bios_parser_types.h
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2018-10-31 17:07:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-12-18 17:39:56 -0500
commit1c01a45a86ed6991953e74be63b6a7e33b387954 (patch)
treed9c2d344de8df386de2afc06063f72898b3643e0 /drivers/gpu/drm/amd/display/include/bios_parser_types.h
parentb8b6ce89016485cb92fdf2f527b40249aefbc470 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/bios_parser_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/include/bios_parser_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/bios_parser_types.h b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
index f8dbfa5b89f2..7fd78a696800 100644
--- a/drivers/gpu/drm/amd/display/include/bios_parser_types.h
+++ b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
@@ -41,6 +41,7 @@ enum as_signal_type {
AS_SIGNAL_TYPE_LVDS,
AS_SIGNAL_TYPE_DISPLAY_PORT,
AS_SIGNAL_TYPE_GPU_PLL,
+ AS_SIGNAL_TYPE_XGMI,
AS_SIGNAL_TYPE_UNKNOWN
};