diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-25 18:22:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-25 18:26:46 +0000 |
commit | 9d61a685e982aa544ca802fe1758aa19ea9987cc (patch) | |
tree | 033640527e9325b3f3be1dba304b4466937f0c71 /tests/gem_exec_store.c | |
parent | 98dcf2f0dcf7097a9404c0598ade4fc94cffeaac (diff) |
igt/gem: Add GPU hang detection to basic tests
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_store.c')
-rw-r--r-- | tests/gem_exec_store.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem_exec_store.c b/tests/gem_exec_store.c index b7eb34fd..937d760f 100644 --- a/tests/gem_exec_store.c +++ b/tests/gem_exec_store.c @@ -96,10 +96,14 @@ igt_main igt_fixture fd = drm_open_driver_master(DRIVER_INTEL); + igt_fork_hang_detector(fd); + for (e = intel_execution_engines; e->name; e++) igt_subtest_f("basic-%s", e->name) store_dword(fd, e->exec_id | e->flags); + igt_stop_hang_detector(); + igt_fixture close(fd); } |