Skip to content

Extend core_hotunplug coverage with open-handles unbind/rebind scenario

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_dummyload: Adapt helpers for Xelib/igt_dummyload.c lib/igt_dummyload.h+16 -90 replies
2/2tests/core_hotunplug: Add exec-fork-unbind-rebind subtesttests/core_hotunplug.c+98 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] Extend core_hotunplug coverage with open-handles unbind/rebind scenario

This series extends core_hotunplug coverage with a child-process open-handles unbind/rebind scenario, and updates dummyload spin-start helpers so the test flow works correctly on both i915 and Xe.

Patch 1 updates igt_spin_has_started() and igt_spin_busywait_until_started() so Xe-backed runs use xe-specific spin start detection.

Patch 2 adds exec-fork-unbind-rebind, which starts spinner work in a child process, ends execution while intentionally keeping child-side GPU handles alive, then verifies parent-side driver unbind/rebind succeeds.

Marcin Bernatowicz (2):
lib/igt_dummyload: Adapt helpers for Xe tests/core_hotunplug: Add exec-fork-unbind-rebind subtest

 lib/igt_dummyload.c    | 14 ++++++
 lib/igt_dummyload.h    | 11 +----
 tests/core_hotunplug.c | 98 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 114 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0