bool enable_otg_frame_sync_pwa;
unsigned int min_deep_sleep_dcfclk_khz;
unsigned int force_odm2to1_for_edp_pixclk_mhz;
+ bool enable_replay_esd_recovery;
};
}
}
- if (!link->replay_settings.replay_allow_active &&
- replay_sink_status.bits.SINK_DEVICE_REPLAY_STATUS == 0x7) {
- /* If sink device replay status is 0x7 and replay is disabled,
- * it means sink is in a bad state and link retraining is needed to recover
- */
- *replay_esd_detection_needed = true;
+ if (link->ctx->dc->debug.enable_replay_esd_recovery) {
+ if (!link->replay_settings.replay_allow_active &&
+ replay_sink_status.bits.SINK_DEVICE_REPLAY_STATUS == 0x7) {
+ /* If sink device replay status is 0x7 and replay is disabled,
+ * it means sink is in a bad state and link retraining is needed to recover
+ */
+ *replay_esd_detection_needed = true;
+ }
}
}