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

Antonio Argenziano antonio.argenziano at intel.com
Tue Mar 6 21:51:48 UTC 2018



On 28/02/18 23:56, Chris Wilson wrote:
> 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) :)

https://paste.debian.net/1013505/  is all the places I could find. 
Pretty sure I've missed some.

Thanks,
Antonio

> -Chris
> 


More information about the igt-dev mailing list