igt: Add gem_eio for inducing expected EIO

A few entry points in the GEM API are expected to raise EIO if we
encounter a wedged GPU. This testcase aims to do so by first injecting a
GPU hang with GPU resets disabled (thus causing the GPU to become wedged)
and then exercises the various API to check for the expected errors.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2015-06-17 18:29:49 +01:00
parent 4fbce7e462
commit eb7d60e430
3 changed files with 171 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ gem_ctx_thrash
gem_ctx_param_basic
gem_double_irq_loop
gem_dummy_reloc_loop
gem_eio
gem_evict_alignment
gem_evict_everything
gem_exec_bad_domains