Re: [PATCH igt] benchmark/gem_busy: Compare polling with syncobj_wait

Chris Wilson
2017-10-12T11:34:24Z

Quoting Tvrtko Ursulin (2017-10-12 10:53:13)
> > @@ -150,6 +202,15 @@ static int loop(unsigned ring, int reps, int ncpus, unsigned flags)
> > return 77;
> > }
> >
> > + if (flags & SYNCOBJ) {
> > + syncobj.handle = syncobj_create(fd);
> > + syncobj.flags = LOCAL_EXEC_FENCE_SIGNAL;
> > +
> > + execbuf.cliprects_ptr = (uintptr_t)&syncobj;
>
> to_user_pointer if you want.

Smashed in and pushed. Thanks,
-Chris