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: adam.miszczak@linux.intel.com, kamil.konieczny@linux.intel.com,
	lukasz.laguna@intel.com,
	Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Subject: [PATCH i-g-t 0/2] gem_wsim: fix batch premature completion
Date: Tue, 28 Jul 2026 12:26:57 +0200	[thread overview]
Message-ID: <20260728102659.316861-1-marcin.bernatowicz@linux.intel.com> (raw)

Fixes sporadic batch premature termination after sustained GPU workload
stress testing by hardening ticks_delta initialization/re-arming:
- initialize ticks_delta to ~0u in xe_spin
- reset ticks_delta to ~0u before fixed-duration batch submission
  in gem_wsim

Marcin Bernatowicz (2):
  lib/xe/xe_spin: initialize ticks_delta to ~0u
  benchmarks/gem_wsim: re-arm ticks_delta before batch submission

 benchmarks/gem_wsim.c | 4 ++++
 lib/xe/xe_spin.c      | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.43.0

             reply	other threads:[~2026-07-28 10:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28 10:26 Marcin Bernatowicz [this message]
2026-07-28 10:26 ` [PATCH i-g-t 1/2] lib/xe/xe_spin: initialize ticks_delta to ~0u Marcin Bernatowicz
2026-07-28 10:26 ` [PATCH i-g-t 2/2] benchmarks/gem_wsim: re-arm ticks_delta before batch submission Marcin Bernatowicz
2026-07-28 11:53 ` ✓ Xe.CI.BAT: success for gem_wsim: fix batch premature completion Patchwork
2026-07-28 12:07 ` ✓ i915.CI.BAT: " Patchwork
2026-07-28 15:18 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-28 15:45 ` ✗ i915.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=20260728102659.316861-1-marcin.bernatowicz@linux.intel.com \
    --to=marcin.bernatowicz@linux.intel.com \
    --cc=adam.miszczak@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=lukasz.laguna@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