[PATCH i-g-t v2 0/5] Various fixes for prime_udl test

Kamil Konieczny
2026-04-22T15:44:44Z

Refactor this test into proper opening fixup, then tests and
last closing fixup. Also fix few error checks and make sure
opened device is handled by i915 driver as there are now also
one handled by Xe.
Move this test into intel/ folder and rename it.

v2: fix igt_simple_main() -> igt_main() in 2nd patch. (Kamil)
Rename test and add documentation so it will build. (Karthik)

Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Swati Sharma <swati2.sharma@intel.com>

Kamil Konieczny (5):
tests/prime_udl: Fix opening
tests/prime_udl: Create subtests
tests/prime_udl: Fix error handling
tests/prime_udl: Fix i915 device opening
tests/prime_udl: Rename into i915_prime_udl

tests/{prime_udl.c => intel/i915_prime_udl.c} | 57 ++++++++++++++-----
tests/meson.build | 2 +-
2 files changed, 43 insertions(+), 16 deletions(-)
rename tests/{prime_udl.c => intel/i915_prime_udl.c} (70%)

--
2.54.0