Re: [PATCH i-g-t v5 2/4] tests/intel/kms_dp_linktrain_fallback: Reset traversed MST output count
"Joshi, Kunal1" <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
On 17-08-2026 13:56, Sowmiya S wrote: > run_lt_fallback_test() tracks which MST outputs it has already > traversed in a file-static counter that is never cleared. Today it > has a single caller so the counter is implicitly zero, but a second > caller would silently inherit the first run's state and skip every > MST sibling as "already visited". > > Reset the counter on entry so the function is safe to call more than > once per binary. The DSC path never reaches setup_mst_outputs(), so > run_dsc_sst_fallaback_test() does not need the same treatment. > > v4: reworded commit message to explain this is a no-op prep patch > until run_lt_fallback_test() gains a second caller (Kunal) > > Signed-off-by: Sowmiya S <[email protected]> Reviewed-by: Kunal Joshi <[email protected]>