public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v7 0/3] Fix chamelium port allocation during igt_fixture
@ 2026-02-03  3:45 Mohammed Bilal
  2026-02-03  3:45 ` [PATCH i-g-t v7 1/3] tests/chamelium/kms_chamelium: Add connector_test() macro Mohammed Bilal
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Mohammed Bilal @ 2026-02-03  3:45 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevan.b, kunal1.joshi, sameer.lattannavar, Mohammed Bilal

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(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-02-09 13:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03  3:45 [PATCH i-g-t v7 0/3] Fix chamelium port allocation during igt_fixture Mohammed Bilal
2026-02-03  3:45 ` [PATCH i-g-t v7 1/3] tests/chamelium/kms_chamelium: Add connector_test() macro Mohammed Bilal
2026-02-09 12:04   ` [i-g-t,v7,1/3] " Joshi, Kunal1
2026-02-09 13:04   ` [PATCH i-g-t v7 1/3] " Sebastian Brzezinka
2026-02-03  3:45 ` [PATCH i-g-t v7 2/3] tests/chamelium/kms_chamelium: use helper function for connector lookup in DP/HDMI/VGA tests Mohammed Bilal
2026-02-09 12:05   ` [i-g-t, v7, " Joshi, Kunal1
2026-02-09 13:05   ` [PATCH i-g-t v7 " Sebastian Brzezinka
2026-02-03  3:45 ` [PATCH i-g-t v7 3/3] tests/chamelium: Rename connector_test to connector_subtest Mohammed Bilal
2026-02-09 12:05   ` [i-g-t,v7,3/3] " Joshi, Kunal1
2026-02-09 12:28   ` [PATCH i-g-t v7 3/3] " Sebastian Brzezinka
2026-02-09 13:06     ` Sebastian Brzezinka
2026-02-05  9:08 ` ✓ Xe.CI.BAT: success for Fix chamelium port allocation during igt_fixture (rev3) Patchwork
2026-02-05  9:58 ` ✓ i915.CI.BAT: " Patchwork
2026-02-06  0:14 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-06  4:00 ` ✗ Xe.CI.FULL: " Patchwork
2026-02-09 12:14   ` Bilal, Mohammed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox