[igt-dev] [PATCH i-g-t v2] igt/gem_measure_ring_size_inflight: Measure smallest inflight ring size

Chris Wilson chris at chris-wilson.co.uk
Thu Mar 1 07:56:53 UTC 2018


Quoting Antonio Argenziano (2018-02-28 23:21:04)
> Some tests measure the render's ring size but are actually meant to
> measure the smallest across all engines. This patch adds measuring the
> smallest size in gem_measure_ring_size_inflight() given the appropriate
> parameter.
> 
> v2:
>         - Only expose high level API. (Chris)
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

If you want another challenge, find all the places where I've used -1 or
~0u to indicate ALL_ENGINES (and replace with #define ALL_ENGINES) :)
-Chris


More information about the igt-dev mailing list