File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
drivers/gpu/drm/amd/display/dc/link/protocols Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,10 @@ static void handle_hpd_irq_replay_sink(struct dc_link *link)
229
229
230
230
link -> replay_settings .config .replay_error_status .raw |= replay_error_status .raw ;
231
231
232
+ /* Increment desync error counter if a desync error is detected */
233
+ if (replay_configuration .bits .DESYNC_ERROR_STATUS )
234
+ link -> replay_settings .replay_desync_error_fail_count ++ ;
235
+
232
236
if (link -> replay_settings .config .force_disable_desync_error_check )
233
237
return ;
234
238
@@ -240,9 +244,6 @@ static void handle_hpd_irq_replay_sink(struct dc_link *link)
240
244
& replay_configuration .raw ,
241
245
sizeof (replay_configuration .raw ));
242
246
243
- /* Update desync error counter */
244
- link -> replay_settings .replay_desync_error_fail_count ++ ;
245
-
246
247
/* Acknowledge and clear error bits */
247
248
dm_helpers_dp_write_dpcd (
248
249
link -> ctx ,
You can’t perform that action at this time.
0 commit comments