[igt-dev] [PATCH i-g-t] tests/i915/gem_shrink: Convert to intel_ctx_t (v3)

Jason Ekstrand jason at jlekstrand.net
Thu Jun 17 15:56:40 UTC 2021


On Wed, Jun 16, 2021 at 6:22 PM Dixit, Ashutosh
<ashutosh.dixit at intel.com> wrote:
>
> On Wed, 16 Jun 2021 09:57:24 -0700, Jason Ekstrand wrote:
> >
> > @@ -185,13 +188,16 @@ static void execbufX(int fd, uint64_t alloc)
> >
> >               execbuf.buffers_ptr = to_user_pointer(&obj[j]);
> >               execbuf.buffer_count = i + 1;
> > -             execbuf.flags = engines[j % nengine];
> > +             execbuf.flags = engines.engines[i % engines.nengines].flags;
>
> Should this be [j % engines.nengines]?

Yup.  Good catch.

> Apart from this, this is:
>
> Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

Thanks!


More information about the igt-dev mailing list