[PATCH i-g-t v2 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       |  58 +++++++++++++++++
 lib/igt_dummyload.h       |   8 +++
 lib/igt_gt.c              |  83 ++++++++++++++++++++++++
 lib/igt_gt.h              |   2 +
 tests/gem_exec_await.c    |  90 +-------------------------
 tests/gem_exec_fence.c    | 117 ++++-----------------------------
 tests/gem_exec_latency.c  |  97 ++++------------------------
 tests/gem_exec_schedule.c | 161 ++++++++++++----------------------------------
 tests/gem_ringfill.c      |  96 +--------------------------
 tests/gem_wait.c          |  54 +++-------------
 10 files changed, 226 insertions(+), 540 deletions(-)

-- 
1.9.1

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux