public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v6 0/2] Fix chamelium port allocation during igt_fixture
@ 2026-01-29  7:45 Mohammed Bilal
  2026-01-29  7:45 ` [PATCH i-g-t v6 1/2] tests/chamelium/kms_chamelium: Add connector_test() macro Mohammed Bilal
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mohammed Bilal @ 2026-01-29  7:45 UTC (permalink / raw)
  To: igt-dev
  Cc: jeevan.b, kunal1.joshi, sameer.lattannavar, karthik.b.s,
	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)

Mohammed Bilal (2):
  tests/chamelium/kms_chamelium: Add connector_test() macro
  tests/chamelium/kms_chamelium_hpd: use helper function for connector
    lookup in DP/HDMI/VGA tests

 tests/chamelium/kms_chamelium_helper.h |  33 ++++
 tests/chamelium/kms_chamelium_hpd.c    | 239 ++++++++++---------------
 2 files changed, 131 insertions(+), 141 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2026-01-30  4:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29  7:45 [PATCH i-g-t v6 0/2] Fix chamelium port allocation during igt_fixture Mohammed Bilal
2026-01-29  7:45 ` [PATCH i-g-t v6 1/2] tests/chamelium/kms_chamelium: Add connector_test() macro Mohammed Bilal
2026-01-29  7:45 ` [PATCH i-g-t v6 2/2] tests/chamelium/kms_chamelium_hpd: use helper function for connector lookup in DP/HDMI/VGA tests Mohammed Bilal
2026-01-30  4:05   ` [i-g-t,v6,2/2] " Joshi, Kunal1
2026-01-29  8:46 ` ✓ Xe.CI.BAT: success for Fix chamelium port allocation during igt_fixture Patchwork
2026-01-29  9:27 ` ✓ i915.CI.BAT: " Patchwork
2026-01-29 10:56 ` ✗ i915.CI.Full: failure " Patchwork

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