[igt-dev] [PATCH i-g-t v2 02/10] lib/igt_gt: add intel_measure_ring_size

Chris Wilson chris at chris-wilson.co.uk
Sat Feb 10 09:28:46 UTC 2018


Quoting Antonio Argenziano (2018-02-09 23:38:57)
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> 
> The logic to measure the ring size is replicated almost identically in
> several tests. Adding it as a common function will make the code
> cleaner.
> 
> The tests are updated in follow up patches.
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

> ---
>  lib/igt_gt.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  lib/igt_gt.h |  2 ++

lib/i915/gem_ring.c
-Chris


More information about the igt-dev mailing list