[igt-dev] [PATCH i-g-t] i915/gem_eio: Attempt to fix reset-stress/unwedge-stress failures on SNB

Ashutosh Dixit ashutosh.dixit at intel.com
Wed Oct 23 03:04:26 UTC 2019


gem_eio reset-stress and unwedge-stress subtests are now passing on
all platforms except SNB. Attempt to fix failures in SNB by giving
a little more time to complete the wedge.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109661
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
 tests/i915/gem_eio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index 892f3657c..20f66e00d 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -300,7 +300,7 @@ static void check_wait_elapsed(const char *prefix, int fd, igt_stats_t *st)
 	 * modeset back on) around resets, so may take a lot longer.
 	 */
 	limit = 250e6;
-	if (intel_gen(intel_get_drm_devid(fd)) < 5)
+	if (intel_gen(intel_get_drm_devid(fd)) <= 5)
 		limit += 300e6; /* guestimate for 2x worstcase modeset */
 
 	med = igt_stats_get_median(st);
-- 
2.23.0



More information about the igt-dev mailing list