mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
igt/gem: Add GPU hang detection to basic tests
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -166,6 +166,8 @@ igt_main
|
||||
gem_write(device, handle, 0, &bbe, sizeof(bbe));
|
||||
}
|
||||
|
||||
igt_fork_hang_detector(device);
|
||||
|
||||
igt_subtest("basic")
|
||||
all(device, handle, 10);
|
||||
|
||||
@@ -176,6 +178,8 @@ igt_main
|
||||
igt_subtest("all")
|
||||
all(device, handle, 150);
|
||||
|
||||
igt_stop_hang_detector();
|
||||
|
||||
igt_fixture {
|
||||
gem_close(device, handle);
|
||||
close(device);
|
||||
|
||||
Reference in New Issue
Block a user