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

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

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux