[Intel-gfx] [PATCH i-g-t v3 0/6] Scheduler tests
derek.j.morton at intel.com
Thu Mar 10 11:03:28 UTC 2016
This patch set adds scheduler tests.
Patch 1 Makes gem_has_ring() non static as the test will need to call it
Patch 2 adds library code used by the tests. There are other tests under
development which are planned to reuse some of these libraries.
Patch 3 adds some basic tests, read dependency tests and write dependency tests.
Patch 4 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 6 & 7 are dependant on it.
Patch 5 adds subtests to check sheduler behaviour for batch buffers submitted at
Patch 6 adds subtests to check priority bumping behaviour.
v2: Updates for comments from Daniele Ceraolo Spurio and Daniel Vetter
Added tests requested by Joonas Lahtinen
v3: Removed the patch to update gem_has_ring() and updated the test to
use BSD if there is 1 ring and BSD1 / BSD2 if there are two.
Derek Morton (5):
ioctl_wrappers: make gem_has_ring non static
lib/intel_batchbuffer: Add functions to be used in the scheduler test
tests/gem_scheduler: Add gem_scheduler test
tests/gem_scheduler: Add subtests to test batch priority behaviour
gem_scheduler: Added subtests to test priority bumping
John Harrison (1):
igt/gem_ctx_param_basic: Updated to support scheduler priority
lib/intel_batchbuffer.c | 384 ++++++++++++++++++++++++++-
lib/intel_batchbuffer.h | 14 +
lib/ioctl_wrappers.c | 2 +-
lib/ioctl_wrappers.h | 2 +
tests/Makefile.sources | 1 +
tests/gem_ctx_param_basic.c | 34 ++-
tests/gem_scheduler.c | 630 ++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 1060 insertions(+), 7 deletions(-)
create mode 100644 tests/gem_scheduler.c
More information about the Intel-gfx