[Intel-gfx] [PATCH igt] lib/gem: Reset the global seqno at the start of each test

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Feb 8 14:09:40 UTC 2018


Quoting Chris Wilson (2017-12-23 00:04:31)
> 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 if
> they do.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list