[Intel-gfx] [PATCH i-g-t 0/8] extract cork and ring measure code

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Oct 12 22:27:26 UTC 2017


The "cork" bo used to stall execution and the interruptible execbuf
used to measure the ring size are repeated almost identically in
several files. Extracting those to common files helps simplifying
the code and avoiding repetition.

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

Daniele Ceraolo Spurio (8):
  lib/igt_dummyload: add igt_cork
  lib/igt_gt: add intel_measure_ring_size
  tests/gem_exec_schedule: use new common functions
  tests/gem_exec_fence: use new common functions
  tests/gem_exec_latency: use new common functions
  tests/gem_wait: use igt_cork
  tests/gem_exec_await: use intel_measure_ring_size
  tests/gem_ringfill: use intel_measure_ring_size

 lib/igt_dummyload.c       |  75 ++++++++++++++++++++++
 lib/igt_dummyload.h       |  11 ++++
 lib/igt_gt.c              |  83 ++++++++++++++++++++++++
 lib/igt_gt.h              |   2 +
 tests/gem_exec_await.c    |  90 +-------------------------
 tests/gem_exec_fence.c    | 115 +++------------------------------
 tests/gem_exec_latency.c  |  95 +++------------------------
 tests/gem_exec_schedule.c | 159 ++++++++++------------------------------------
 tests/gem_ringfill.c      |  96 +---------------------------
 tests/gem_wait.c          |  52 +++------------
 10 files changed, 235 insertions(+), 543 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list