igt/gem_concurrent_blit: Inject hangs before verifying contents

After setting up the copy operations, add a hanging batch. This should
mean that we complete the copy and the compare then races against the
GEM reset. Hopefully, this will catch driver bugs where the target
object is no longer accessible after the hang.

Note: hang injection is disabled until the required kernel interface is
completed. But there are useful additional tests here...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2014-09-04 09:26:24 +01:00
parent 25cf0551c7
commit 16bafdf5bf
6 changed files with 371 additions and 65 deletions
+2
View File
@@ -10,6 +10,8 @@ libintel_tools_la_SOURCES = \
igt_debugfs.h \
igt_aux.c \
igt_aux.h \
igt_gt.c \
igt_gt.h \
instdone.c \
instdone.h \
intel_batchbuffer.c \