[PATCH i-g-t 0/2] gem_wsim: fix batch premature completion

Marcin Bernatowicz <[email protected]> Tue, 28 Jul 2026 12:26:57 +0200
Newsgroups org.freedesktop.lists.igt-dev
Message-ID <[email protected]>
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