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

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Apr 18 09:11:50 UTC 2018


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_event_timeout() into another errno.
> 
> 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