mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
igt/gem_wait: When waiting for infinity, an infinity remains
Incorrect testing of out parameters leads to bug noise... Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89494#c4 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
1d0aa69f55
commit
ea4aa70f3c
@ -215,7 +215,7 @@ static void render_timeout(int fd)
|
||||
intel_batchbuffer_flush(batch);
|
||||
|
||||
igt_assert_eq(gem_bo_wait_timeout(fd, dst2->handle, &negative_timeout), 0);
|
||||
igt_assert_eq(negative_timeout, 0);
|
||||
igt_assert_eq(negative_timeout, -1); /* infinity always remains */
|
||||
igt_assert(gem_bo_busy(fd, dst2->handle) == false);
|
||||
|
||||
if (do_signals)
|
||||
|
Loading…
x
Reference in New Issue
Block a user