[Intel-gfx] [igt-dev] [PATCH] tests/gem_exec_params: test overly large batch

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 13 14:40:28 UTC 2020


Quoting Chris Wilson (2020-10-13 13:21:55)
> > +
> > +       /*
> > +       * batch_len seems like it can have different interaction depending on
> > +       * the engine and HW.
> > +       */
> > +       for_each_engine(e, fd) {
> > +              execbuf.flags = eb_ring(e);
> > +              /* Make the batch_len implicit */
> > +              __gem_execbuf(fd, &execbuf);
> 
> Expect success.

Except for when batch > GTT size. igt_require(gem_gtt_size() > 4G) ?
-Chris


More information about the Intel-gfx mailing list