Skip to content

gem_wsim: fix batch premature completion

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/xe/xe_spin: initialize ticks_delta to ~0ulib/xe/xe_spin.c+1 -13 replies
2/2benchmarks/gem_wsim: re-arm ticks_delta before batch submissionbenchmarks/gem_wsim.c+4 -00 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] gem_wsim: fix batch premature completion

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(-)
Signature · 1 line
2.43.0