summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject-usercopy.c
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2022-05-26 15:52:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-14 21:38:40 -0400
commitc443514a7d6d648bc497efbe502e2a49738b94de (patch)
treef291f2b165dff33caeea1d3220236656fe5ba87d /lib/fault-inject-usercopy.c
parent9731dd4cadc53251ef80b3655c8d841fed52fa3d (diff)
downloadlinux-c443514a7d6d648bc497efbe502e2a49738b94de.tar.bz2
drm/amd/display: lower lane count first when CR done partially fails in EQ
[why] According to DP specs, in EQ DONE phase of link training, we should lower lane count when at least one CR DONE bit is set to 1, while lower link rate when all CR DONE bits are 0s. However in our code, we will treat both cases as latter. This is not exactly correct based on the specs expectation. [how] Check lane0 CR DONE bit when it is still set but CR DONE fails, we treat it as a partial CR DONE failure in EQ DONE phase, we will follow the same fallback flow as when ED DONE fails in EQ DONE phase. Reviewed-by: George Shen <George.Shen@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/fault-inject-usercopy.c')
0 files changed, 0 insertions, 0 deletions