On Fri, Mar 18, 2016 at 09:44:40AM +, Chris Wilson wrote:
> On Thu, Mar 17, 2016 at 06:18:06PM -0300, Tiago Vignatti wrote:
> > +static void test_ioctl_errors(void)
> > +{
> > + int i;
> > + int num_children = 8*sysconf(_SC_NPROCESSORS_ONLN);
> > +
> > + igt_fork_signal_helper();
> > +
On Thu, Mar 17, 2016 at 06:18:06PM -0300, Tiago Vignatti wrote:
> +static void test_ioctl_errors(void)
> +{
> + int i;
> + int num_children = 8*sysconf(_SC_NPROCESSORS_ONLN);
> +
> + igt_fork_signal_helper();
> + igt_fork(child, num_children) {
Actually there is a danger here in
This patch adds ioctl-errors subtest to be used for exercising prime sync ioctl
errors.
The subtest constantly interrupts via signals a function doing concurrent blit
to stress out the right usage of prime_sync_*, making sure these ioctl errors
are handled accordingly. Important to note that in