Commit e1b53a0
committed
RSDSO-21151: Make HW reset SERDES recovery conditional (light path)
When the GMSL link recovers naturally after HW reset (the common case
for D457), skip SERDES recovery and stability verification entirely.
This eliminates ~1300ms of unnecessary overhead per reset that was
causing timing-sensitive CI test failures (rec-play-got-playback-frames,
t2ff-sensor, hdr-performance).
Changes:
- Step 6: Probe I2C link after Step 5 polling succeeds. If alive, skip
ds5_hw_reset_serdes_recovery() (no max9295_init_settings, no Phase 1
stability reads). Only invoke SERDES recovery when I2C is actually
broken post-reset (e.g. D401 secondary FW init phase).
- Step 10: Skip the 3x200ms stability verification loop and Phase 2
escalation when SERDES recovery was not performed. Steps 7-9 already
validate the link via multiple I2C reads.
- Reduce DS5_HW_RESET_COOLDOWN_MS from 5000ms to 2000ms. With
conditional recovery eliminating unnecessary SERDES disruption, the
aggressive cooldown is no longer needed for the common case.
v1.0.1.33 (all CI tests passing) used fire-and-forget HW reset with
zero SERDES intervention. This change restores that lightweight behavior
for the normal path while keeping full tiered recovery as a fallback
when the link is genuinely broken.1 parent f05fed4 commit e1b53a0
1 file changed
Lines changed: 48 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | | - | |
| 2326 | + | |
2327 | 2327 | | |
2328 | 2328 | | |
2329 | 2329 | | |
| |||
2641 | 2641 | | |
2642 | 2642 | | |
2643 | 2643 | | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
2644 | 2647 | | |
2645 | 2648 | | |
2646 | 2649 | | |
| |||
2842 | 2845 | | |
2843 | 2846 | | |
2844 | 2847 | | |
2845 | | - | |
2846 | | - | |
2847 | | - | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
2848 | 2857 | | |
2849 | | - | |
2850 | | - | |
2851 | | - | |
2852 | | - | |
2853 | | - | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
2854 | 2879 | | |
2855 | 2880 | | |
2856 | 2881 | | |
| |||
2969 | 2994 | | |
2970 | 2995 | | |
2971 | 2996 | | |
2972 | | - | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
2973 | 3005 | | |
2974 | 3006 | | |
2975 | 3007 | | |
| |||
2984 | 3016 | | |
2985 | 3017 | | |
2986 | 3018 | | |
2987 | | - | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
2988 | 3024 | | |
2989 | 3025 | | |
2990 | 3026 | | |
| |||
3057 | 3093 | | |
3058 | 3094 | | |
3059 | 3095 | | |
3060 | | - | |
| 3096 | + | |
3061 | 3097 | | |
3062 | 3098 | | |
3063 | 3099 | | |
| |||
0 commit comments