Fix chamelium port allocation during igt_fixture
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest3 patches 8 repliesIn review
- v62 patches 1 replySuperseded
- v52 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 2 patches | 1 reply | Superseded | |
| v3 | 2 patches | 3 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
-Remove the old connector_subtest implementation (Kunal) -Rename connector_test back to connector_subtest (Kunal) -Update all call sites to use the renamed connector_subtest (Kunal)
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests/chamelium/kms_chamelium: Add connector_test() macrotests/ | +33 | 2 replies | |
| 2/3 | tests/chamelium/kms_chamelium: use helper function for connector lookup in DP/HDMI/VGA teststests/ tests/ tests/ +1 more | +216 | 2 replies | |
| 3/3 | tests/chamelium: Rename connector_test to connector_subtesttests/ tests/ tests/ +2 more | +114 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Kunal Joshi | Sebastian Brzezinka |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t v7 0/3] Fix chamelium port allocation during igt_fixture
The current fixture implementation executes even for unrelated subtests, causing false failures when expected inputs were not present. Refactor the DP/HDMI/VGA hotplug tests to use a common connector lookup pattern so that each test skips cleanly.
v3:
- Introduce a unified connector test macro (Sebastien)
- Remove unused variable (Sebastien)
- Drop per-connector fixture usage (Sebastien)
- Refactor DP/HDMI/VGA hotplug tests (Sebastien)
v4:
- Rename helper to igt_chamelium_get_port (Jeevan)
- Add documentation for helper and macro (Jeevan)
- Use lowercase name for test macro (Sebastien)
v5:
-Iterate and test all matching connected ports (Kunal)
v6:
- Fix macro structure to ensure safe expansion and proper scoping (Kunal)
- Make the macro independent of assumptions in the calling test (Kunal)
- Move connector_test macro to kms_chamelium_helper
for correct layering (Kunal)
- Use suffixed local variables to avoid name collisions (Kunal)
- Add igt_info logging to show which port is being
exercised by each subtest (Kunal)
v7:
-Remove the old connector_subtest implementation (Kunal) -Rename connector_test back to connector_subtest (Kunal) -Update all call sites to use the renamed connector_subtest (Kunal)
Mohammed Bilal (3):
tests/chamelium/kms_chamelium: Add connector_test() macro tests/chamelium/kms_chamelium: use helper function for connector
lookup in DP/HDMI/VGA tests
tests/chamelium: Rename connector_test to connector_subtest
tests/chamelium/kms_chamelium_audio.c | 42 ++--- tests/chamelium/kms_chamelium_edid.c | 187 ++++++++----------- tests/chamelium/kms_chamelium_frames.c | 111 ++++-------- tests/chamelium/kms_chamelium_helper.h | 36 +++- tests/chamelium/kms_chamelium_hpd.c | 240 ++++++++++--------------- 5 files changed, 252 insertions(+), 364 deletions(-)
Signature · 1 line
2.48.1