diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-01 21:53:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-04 14:31:32 +0000 |
commit | 7e07894d8b0f567cb4241b5bed8a9644874ddd47 (patch) | |
tree | 03cbbe0f2db36a13c69ebb7d7d2cda871ac05959 /tests/drv_selftest.c | |
parent | 31fe04318bcf38a0a62605067de5bfa1ada47d97 (diff) |
igt/gem_busy: Replace arbitrary busy batch with indefinite spinbatch
In CI, we were observing situations where the busy blt would complete
before the very next instruction (in userspace) to assert that it was
busy. This is entirely possible if the process was scheduled away and
slept for longer than the arbitrary batch. Instead replace arbitrariness
with a precise infinity.
v2: Be respectful to UP!
v3: Move spinbatch to owning process to avoid serialisation delays.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103829
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tests/drv_selftest.c')
0 files changed, 0 insertions, 0 deletions