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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux