[igt-dev] [PATCH i-g-t] tests/gem_fenced_exec_thrash: s/EDEADLK/ENOBUFS/
Daniel Vetter
daniel at ffwll.ch
Tue Jul 13 20:34:41 UTC 2021
On Mon, Jul 12, 2021 at 10:49:36AM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Adjust the expected errno for running out of fences to
> ENOBUFS from EDEADLK as per kernel commit 78d2ad7eb4e1
> ("drm/i915/gt: Fix -EDEADLK handling regression").
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
I'm disappoint in the errno, but um I guess it's as good as it gets.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-Daniel
> ---
> tests/i915/gem_fenced_exec_thrash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_fenced_exec_thrash.c b/tests/i915/gem_fenced_exec_thrash.c
> index 13812bb7e429..6497ff57647a 100644
> --- a/tests/i915/gem_fenced_exec_thrash.c
> +++ b/tests/i915/gem_fenced_exec_thrash.c
> @@ -182,7 +182,7 @@ igt_main
> run_test(fd, num_fences, 0, flags);
> }
> igt_subtest("too-many-fences")
> - run_test(fd, num_fences + 1, intel_gen(devid) >= 4 ? 0 : EDEADLK, 0);
> + run_test(fd, num_fences + 1, intel_gen(devid) >= 4 ? 0 : ENOBUFS, 0);
>
> igt_fixture
> close(fd);
> --
> 2.31.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the igt-dev
mailing list