Re: [igt-dev] [PATCH i-g-t] lib/i915: Trim ring measurement by one

Chris Wilson
2019-08-12T13:22:55Z

Quoting Mika Kuoppala (2019-08-12 12:52:56)
> Chris Wilson <chris@chris-wilson.co.uk> writes:
>
> > Be a little more conservative in our ring measurement and exclude one
> > batch to leave room in case our user needs to wrap (where a request will
> > be expanded to cover the unused space at the end of the ring).
> >
>
> did read the wrapping part and that seems to be the case that
> we enlarge the wrapping request.
>
> However do we lose some coverage on the actual wrap tests?

The tests where we call measure_ring_size, are those that we do not want
to block due to running out of space (and wrapping) :)
-Chris