Re: [Intel-gfx] [PATCH] drm/i915/selftests: Don't use -ETIMEDOUT from inside a test

2018-04-18 Thread Joonas Lahtinen
Quoting Chris Wilson (2018-04-17 17:32:04) > -ETIMEDOUT is reserved in the selftests for use by igt_timeout, and the > errno is magically handled by the test runner to break from inside the > test loop without propagating back to userspace as a failure. So convert > the -ETIMEDOUT from wait_var_eve

[Intel-gfx] [PATCH] drm/i915/selftests: Don't use -ETIMEDOUT from inside a test

2018-04-17 Thread Chris Wilson
-ETIMEDOUT is reserved in the selftests for use by igt_timeout, and the errno is magically handled by the test runner to break from inside the test loop without propagating back to userspace as a failure. So convert the -ETIMEDOUT from wait_var_event_timeout() into another errno. Signed-off-by: Ch