mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +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:
@@ -241,6 +241,8 @@ igt_main
|
||||
igt_fixture
|
||||
fd = drm_open_driver_master(DRIVER_INTEL);
|
||||
|
||||
igt_fork_hang_detector(fd);
|
||||
|
||||
igt_subtest("basic-S3")
|
||||
run_test(fd, -1, SUSPEND);
|
||||
igt_subtest("basic-S4")
|
||||
@@ -257,6 +259,8 @@ igt_main
|
||||
}
|
||||
}
|
||||
|
||||
igt_stop_hang_detector();
|
||||
|
||||
igt_fixture
|
||||
close(fd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user