Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: fix register write sequence for LINK_SQUARE_PATTERN

[why&how]
write LINK_SQUARE_PATTERN_num + 1 for square pulse pattern.
Specs requirement to write this register prior to write LINK_QUAL_LANEX_SET.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Wenjing Liu and committed by
Alex Deucher
edcf52ca 589bd2f0

+11
+3
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
··· 898 898 #ifndef DP_DFP_CAPABILITY_EXTENSION_SUPPORT 899 899 #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 900 900 #endif 901 + #ifndef DP_LINK_SQUARE_PATTERN 902 + #define DP_LINK_SQUARE_PATTERN 0x10F 903 + #endif 901 904 #ifndef DP_DSC_CONFIGURATION 902 905 #define DP_DSC_CONFIGURATION 0x161 903 906 #endif