[igt-dev] [PATCH i-g-t v3] igt: Use lib gem_execbuf where possible

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 23 10:01:35 UTC 2018


Quoting Chris Wilson (2018-02-23 09:21:11)
> Quoting Antonio Argenziano (2018-02-23 00:54:38)
> > diff --git a/tests/gem_exec_fence.c b/tests/gem_exec_fence.c
> > index b415199f..9d95c982 100644
> > --- a/tests/gem_exec_fence.c
> > +++ b/tests/gem_exec_fence.c
> > @@ -565,7 +553,7 @@ static void test_keep_in_fence(int fd, unsigned int engine, unsigned int flags)
> >         last = -1;
> >         count = 0;
> >         do {
> > -               int err = __execbuf(fd, &execbuf);
> > +               int err = __gem_execbuf_wr(fd, &execbuf);
> 
> Darn. But this still calls drmIoctl() and we need the EINTR escape.

Dropped the hunks to gem_exec_fence and pushed. Thanks!
-Chris


More information about the igt-dev mailing list