Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v4 0/2] Fix chamelium port allocation during igt_fixture
@ 2025-12-15 15:07 Mohammed Bilal
  2025-12-15 15:07 ` [PATCH i-g-t v4 1/2] lib/igt_chamelium: Add igt_chamelium_get_port() helper and connector_test() macro Mohammed Bilal
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mohammed Bilal @ 2025-12-15 15:07 UTC (permalink / raw)
  To: igt-dev
  Cc: jeevan.b, kunal1.joshi, karthik.b.s, 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)

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

 lib/igt_chamelium.c                 |  22 +++
 lib/igt_chamelium.h                 |  26 +++
 tests/chamelium/kms_chamelium_hpd.c | 238 ++++++++++++----------------
 3 files changed, 145 insertions(+), 141 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-12-19 12:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 15:07 [PATCH i-g-t v4 0/2] Fix chamelium port allocation during igt_fixture Mohammed Bilal
2025-12-15 15:07 ` [PATCH i-g-t v4 1/2] lib/igt_chamelium: Add igt_chamelium_get_port() helper and connector_test() macro Mohammed Bilal
2025-12-19 12:49   ` Sebastian Brzezinka
2025-12-15 15:07 ` [PATCH i-g-t v4 2/2] tests/chamelium/kms_chamelium_hpd: use helper function for connector lookup in DP/HDMI/VGA tests Mohammed Bilal
2025-12-15 23:48 ` ✗ i915.CI.BAT: failure for Fix chamelium port allocation during igt_fixture (rev2) Patchwork
2025-12-16  1:00 ` ✗ Xe.CI.BAT: " Patchwork
2025-12-16 11:12 ` ✗ Xe.CI.Full: " Patchwork

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