mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
igt/gem_evict_(alignment|everything): contend with GPU hangs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -235,6 +235,21 @@ igt_main
|
||||
test_major_evictions(fd, size, count);
|
||||
}
|
||||
|
||||
if (igt_fork_hang_helper()) {
|
||||
igt_subtest("swapping-hang")
|
||||
test_swapping_evictions(fd, size, count);
|
||||
|
||||
igt_subtest("minor-hang")
|
||||
test_minor_evictions(fd, size, count);
|
||||
|
||||
igt_subtest("major-hang") {
|
||||
size = 3*gem_aperture_size(fd) / 4;
|
||||
count = 4;
|
||||
test_major_evictions(fd, size, count);
|
||||
}
|
||||
|
||||
igt_stop_hang_helper();
|
||||
}
|
||||
igt_stop_signal_helper();
|
||||
|
||||
igt_fixture {
|
||||
|
||||
Reference in New Issue
Block a user