[Intel-gfx] [PATCH i-g-t 0/4] Scheduler tests

Derek Morton derek.j.morton at intel.com
Fri Feb 12 09:38:50 UTC 2016


This patch set adds scheduler tests.
Patch 1 adds library code used by the tests. There are other tests under
development which are planned to reuse some of these libraries.
Patch 2 adds some basic tests, read dependency tests and write dependency tests.
Patch 3 Is the patch previously submitted by John Harrison to update
gem_ctx_param_basic with ioctls to set context priorities. It is included as
part of this patch set as Patch 4 is dependant on it.
Patch 4 adds tests to check sheduler behaviour for batch buffers submitted at
differing priorities.

Derek Morton (3):
  lib/igt_bb_factory: Add igt_bb_factory library
  tests/gem_scheduler: Add gem_scheduler test
  tests/gem_scheduler: Add subtests to test batch priority behaviour

John Harrison (1):
  igt/gem_ctx_param_basic: Updated to support scheduler priority
    interface

 lib/Makefile.sources        |   2 +
 lib/igt.h                   |   1 +
 lib/igt_bb_factory.c        | 401 +++++++++++++++++++++++++++++++++++++++++
 lib/igt_bb_factory.h        |  47 +++++
 lib/ioctl_wrappers.h        |   1 +
 tests/Makefile.sources      |   1 +
 tests/gem_ctx_param_basic.c |  34 +++-
 tests/gem_scheduler.c       | 431 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 917 insertions(+), 1 deletion(-)
 create mode 100644 lib/igt_bb_factory.c
 create mode 100644 lib/igt_bb_factory.h
 create mode 100644 tests/gem_scheduler.c

-- 
1.9.1



More information about the Intel-gfx mailing list