Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: janusz.krzysztofik@linux.intel.com, lukasz.laguna@intel.com,
	matthew.brost@intel.com, michal.wajdeczko@intel.com,
	stuart.summers@intel.com,
	Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Subject: [PATCH i-g-t 0/2] Extend core_hotunplug coverage with open-handles unbind/rebind scenario
Date: Thu, 11 Jun 2026 16:24:36 +0200	[thread overview]
Message-ID: <20260611142438.260647-1-marcin.bernatowicz@linux.intel.com> (raw)

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

-- 
2.43.0


             reply	other threads:[~2026-06-11 14:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-11 14:24 Marcin Bernatowicz [this message]
2026-06-11 14:24 ` [PATCH i-g-t 1/2] lib/igt_dummyload: Adapt helpers for Xe Marcin Bernatowicz
2026-06-11 14:24 ` [PATCH i-g-t 2/2] tests/core_hotunplug: Add exec-fork-unbind-rebind subtest Marcin Bernatowicz
2026-06-11 15:26   ` Kamil Konieczny
2026-06-12  7:13     ` Bernatowicz, Marcin
2026-06-11 18:45 ` ✓ i915.CI.BAT: success for Extend core_hotunplug coverage with open-handles unbind/rebind scenario Patchwork
2026-06-11 19:14 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-12  9:33 ` ✗ Xe.CI.FULL: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260611142438.260647-1-marcin.bernatowicz@linux.intel.com \
    --to=marcin.bernatowicz@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=janusz.krzysztofik@linux.intel.com \
    --cc=lukasz.laguna@intel.com \
    --cc=matthew.brost@intel.com \
    --cc=michal.wajdeczko@intel.com \
    --cc=stuart.summers@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox