mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +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:
@@ -222,6 +222,21 @@ igt_main
|
||||
count = 4;
|
||||
major_evictions(fd, size, count);
|
||||
}
|
||||
|
||||
if (igt_fork_hang_helper()) {
|
||||
igt_subtest("minor-hang") {
|
||||
size = 1024 * 1024;
|
||||
count = 3*gem_aperture_size(fd) / size / 4;
|
||||
minor_evictions(fd, size, count);
|
||||
}
|
||||
|
||||
igt_subtest("major-hang") {
|
||||
size = 3*gem_aperture_size(fd) / 4;
|
||||
count = 4;
|
||||
major_evictions(fd, size, count);
|
||||
}
|
||||
igt_stop_hang_helper();
|
||||
}
|
||||
igt_stop_signal_helper();
|
||||
|
||||
igt_fixture
|
||||
|
||||
Reference in New Issue
Block a user