File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
drivers/gpu/drm/amd/display/dc/link/protocols Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -517,6 +517,7 @@ enum link_training_result dp_check_link_loss_status(
517
517
{
518
518
enum link_training_result status = LINK_TRAINING_SUCCESS ;
519
519
union lane_status lane_status ;
520
+ union lane_align_status_updated dpcd_lane_status_updated ;
520
521
uint8_t dpcd_buf [6 ] = {0 };
521
522
uint32_t lane ;
522
523
@@ -532,10 +533,12 @@ enum link_training_result dp_check_link_loss_status(
532
533
* check lanes status
533
534
*/
534
535
lane_status .raw = dp_get_nibble_at_index (& dpcd_buf [2 ], lane );
536
+ dpcd_lane_status_updated .raw = dpcd_buf [4 ];
535
537
536
538
if (!lane_status .bits .CHANNEL_EQ_DONE_0 ||
537
539
!lane_status .bits .CR_DONE_0 ||
538
- !lane_status .bits .SYMBOL_LOCKED_0 ) {
540
+ !lane_status .bits .SYMBOL_LOCKED_0 ||
541
+ !dp_is_interlane_aligned (dpcd_lane_status_updated )) {
539
542
/* if one of the channel equalization, clock
540
543
* recovery or symbol lock is dropped
541
544
* consider it as (link has been
You can’t perform that action at this time.
0 commit comments