[Intel-gfx] [PATCH i-g-t v4 0/5] Scheduler tests
Derek Morton
derek.j.morton at intel.com
Wed Mar 30 13:00:33 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 6 & 7 are dependant on it.
Patch 4 adds subtests to check sheduler behaviour for batch buffers submitted at
differing priorities.
Patch 5 adds subtests to check priority starving behaviour.
v2: Updates for comments from 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.
v4: Removed patch to make gem_has_ring() non static as another patch has already done so.
Addressed more comments from Daniele Ceraolo Spurio
Derek Morton (4):
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 starving
John Harrison (1):
igt/gem_ctx_param_basic: Updated to support scheduler priority
interface
lib/intel_batchbuffer.c | 372 +++++++++++++++++++++++++-
lib/intel_batchbuffer.h | 14 +
lib/ioctl_wrappers.h | 1 +
tests/Makefile.sources | 1 +
tests/gem_ctx_param_basic.c | 34 ++-
tests/gem_scheduler.c | 622 ++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 1038 insertions(+), 6 deletions(-)
create mode 100644 tests/gem_scheduler.c
--
1.9.1
More information about the Intel-gfx
mailing list