[Intel-gfx] [PATCH igt] benchmark/gem_busy: Compare polling with syncobj_wait
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 12 11:34:19 UTC 2017
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
More information about the Intel-gfx
mailing list