diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-01-03 18:09:09 +0000 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-01-04 13:40:06 +0200 |
commit | 6db24416fdcdf5571125f9005089241cc6ba2652 (patch) | |
tree | c6e6a13e4dd1c19c0a5cb67336b1b865c363b463 /include | |
parent | 253f8c09f9bb986938c3e7590438228996bd150b (diff) |
lib/gem: Reset the global seqno at the start of each test
When we require GEM, reset the global seqno. This gives each test a
clean slate to work with, and avoids left-over state from previous tests
impacting on the next. In particular, somes tests may be setting up long
sequence of stalling batches not expecting to hit a seqno wraparound
(leftover from, for example, gem_exec_whisper), causing long GPU hangs
and incompletes in CI if they do.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions