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
@@ -20,6 +20,7 @@ TESTS_progs_M = \
gem_ctx_bad_exec \
gem_ctx_exec \
gem_dummy_reloc_loop \
gem_eio \
gem_evict_alignment \
gem_evict_everything \
gem_exec_bad_domains \