diff options
author | Antonio Argenziano <antonio.argenziano@intel.com> | 2017-12-08 14:38:14 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-10 14:27:50 +0000 |
commit | f7ac0ea5b79f07a70c39eb5a8e3974ce32625917 (patch) | |
tree | 189f1815c3a900b70ab2e6016e9fe149312afe63 /lib/intel_batchbuffer.c | |
parent | 40e8e50a1e4a5bf71cb2b5ad1a6629646872f9ff (diff) |
tests/gem_exec_schedule: Add test for resetting preemptive batch
This patch adds a test that will trigger a preemption of a low priority
batch by a 'bad' batch buffer which will hang. The test aims at making
sure that a hanging high priority batch will not disrupt the submission
flow of low priority contexts.
-v2:
- Rename subtest (Chris)
- Use igt_hang_ctx to hang ring (Chris)
- Add comment on execution order checks (Chris)
-v3:
- Use library call to consume hang (Chris)
- Use a more explicit name for array size (Chris)
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Reviewed-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions