[igt-dev] [PATCH] [PATCH i-g-t] tests/i915/gem_ringfill:Added __for_each_physical_engine to utilize all available engines.

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 14 13:37:28 UTC 2020


Quoting satyavat (2020-02-14 12:52:54)
> @@ -203,8 +203,9 @@ static void run_test(int fd, unsigned ring, unsigned flags, unsigned timeout)
>                 igt_debug("Forking %d children\n", nchild);
>                 igt_fork(child, nchild) {
>                         if (flags & NEWFD) {
> -                               fd = drm_open_driver(DRIVER_INTEL);
> -                               setup_execbuf(fd, &execbuf, obj, reloc, ring);
> +                               i915 = gem_reopen_driver(fd);
> +                               gem_context_copy_engines(fd, 0, i915, 0);
> +                               setup_execbuf(fd, &execbuf, obj, reloc, e);
>                         }
>                         fill_ring(fd, &execbuf, flags, timeout);

Doesn't this change the test somewhat?
-Chris


More information about the igt-dev mailing list