From 9ba3717a86553e15aa6e4aec8a77c2e3460fd4d3 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 6 Feb 2018 22:55:33 +0000 Subject: igt/gem_eio: Use slow spinners to inject hangs One weird issue we see in bug 104676 is that the hangs are too fast on HSW! So force the use of the slow spinners that do not try to trigger a hang by injecting random bytes into the batch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104676 Signed-off-by: Chris Wilson Reviewed-by: Joonas Lahtinen --- lib/igt_gt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_gt.c') diff --git a/lib/igt_gt.c b/lib/igt_gt.c index ad6e6205..f70fcb92 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -402,6 +402,7 @@ void igt_force_gpu_reset(int drm_fd) igt_sysfs_scanf(dir, "i915_wedged", "%d", &wedged); close(dir); + errno = 0; igt_assert(!wedged); } -- cgit v1.2.3