Upstream CI results from kms, reset-stress and unwedge-stress subtests of
igt@gem_eio show GPU resume after reset noticeably slower when running on
some Gen12+ platforms.  Since we think that's hardware specific and there
is nothing we can do about that at the i915 driver level, relax the test
expectations for Gen12+, similar to Gen5-.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5784
Signed-off-by: Janusz Krzysztofik <[email protected]>
---
 tests/intel/gem_eio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/gem_eio.c b/tests/intel/gem_eio.c
index b6155c7fc4..5b0925a8c6 100644
--- a/tests/intel/gem_eio.c
+++ b/tests/intel/gem_eio.c
@@ -419,7 +419,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 || 
intel_gen(intel_get_drm_devid(fd)) > 11)
                limit += 300e6; /* guestimate for 2x worstcase modeset */
 
        med = igt_stats_get_median(st);
-- 
2.51.0

Reply via email to