<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CI][SHARDS] igt@gem_eio@unwedge-stress - fail - Failed assertion: med < limit && max < 5 * limit"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109661#c29">Comment # 29</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CI][SHARDS] igt@gem_eio@unwedge-stress - fail - Failed assertion: med < limit && max < 5 * limit"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109661">bug 109661</a>
              from <span class="vcard"><a class="email" href="mailto:ashutosh.dixit@intel.com" title="ashutosh.dixit@intel.com">ashutosh.dixit@intel.com</a>
</span></b>
        <pre>Submitted the following patch (not tested) as a candidate fix for the SNB
issue:

    i915/gem_eio: Attempt to fix reset-stress/unwedge-stress failures on SNB

    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: <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CI][SHARDS] igt@gem_eio@unwedge-stress - fail - Failed assertion: med < limit && max < 5 * limit"
   href="show_bug.cgi?id=109661">https://bugs.freedesktop.org/show_bug.cgi?id=109661</a>
    Signed-off-by: Ashutosh Dixit <<a href="mailto:ashutosh.dixit@intel.com">ashutosh.dixit@intel.com</a>>

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);</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>