Re: [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Mika Kuoppala (2019-04-16 16:01:58)
> Add subtests to resend the same spinner to same context
> and to other context.
> 
> v2: other engines (Chris)
> 
> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

> +               igt_subtest_f("resubmit-%s", e->name)
> +                       spin_resubmit(fd, e->exec_id, 0);
> +
> +               igt_subtest_f("resubmit-new-%s", e->name)
> +                       spin_resubmit(fd, e->exec_id, RESUBMIT_NEW_CTX);
> +
> +               igt_subtest_f("resubmit-all-%s", e->name)
> +                       spin_resubmit(fd, e->exec_id, RESUBMIT_ALL_ENGINES);
> +
> +               igt_subtest_f("resubmit-new-all-%s", e->name)
> +                       spin_resubmit(fd, e->exec_id,
> +                                     RESUBMIT_NEW_CTX |
> +                                     RESUBMIT_ALL_ENGINES);

You are getting close to wanting a loop here :)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux