drm/amd/display: Add logging when DP link training Clock recovery is Successful
Log when Clock recovery is successful, as part of DP link training process. Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Cc: Fangzhi Zuo <Jerry.Zuo@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6a929fea7f
commit
88c7ad91e3
|
@ -225,8 +225,10 @@ enum link_training_result perform_8b_10b_clock_recovery_sequence(
|
|||
offset);
|
||||
|
||||
/* 5. check CR done*/
|
||||
if (dp_is_cr_done(lane_count, dpcd_lane_status))
|
||||
if (dp_is_cr_done(lane_count, dpcd_lane_status)) {
|
||||
DC_LOG_HW_LINK_TRAINING("%s: Clock recovery OK\n", __func__);
|
||||
return LINK_TRAINING_SUCCESS;
|
||||
}
|
||||
|
||||
/* 6. max VS reached*/
|
||||
if ((link_dp_get_encoding_format(<_settings->link_settings) ==
|
||||
|
|
|
@ -401,6 +401,7 @@ static enum link_training_result dpia_training_cr_non_transparent(
|
|||
|
||||
/* Check if clock recovery successful. */
|
||||
if (dp_is_cr_done(lane_count, dpcd_lane_status)) {
|
||||
DC_LOG_HW_LINK_TRAINING("%s: Clock recovery OK\n", __func__);
|
||||
result = LINK_TRAINING_SUCCESS;
|
||||
break;
|
||||
}
|
||||
|
@ -508,6 +509,7 @@ static enum link_training_result dpia_training_cr_transparent(
|
|||
|
||||
/* Check if clock recovery successful. */
|
||||
if (dp_is_cr_done(lane_count, dpcd_lane_status)) {
|
||||
DC_LOG_HW_LINK_TRAINING("%s: Clock recovery OK\n", __func__);
|
||||
result = LINK_TRAINING_SUCCESS;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue