<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI] igt@drv_selftest@mock_fence - dmesg-fail - i915/i915_sw_fence_mock_selftests: test_dma_fence failed with error -22"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104670">bug 104670</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI] igt@drv_selftest@mock_fence - dmesg-fail - i915/i915_sw_fence_mock_selftests: test_dma_fence failed with error -22"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104670#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI] igt@drv_selftest@mock_fence - dmesg-fail - i915/i915_sw_fence_mock_selftests: test_dma_fence failed with error -22"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104670">bug 104670</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>Fingers crossed,

commit ba02f4c26b37102ab030aa81d42d8021c81a43ab
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Wed Jan 17 13:57:13 2018 +0000

    drm/i915/selftests: Wait for the dma-fence timeout

    When testing that the timeout fired, we need to be sure we have waited
    just long enough for the timeout to have occurred and for the softirq
    (on another cpu) to have completed. Sleeping for an arbitrary amount is
    prone to error, so wait for the timeout instead and complain if it was
    too late.

    v2: Use wait_event_timeout to provide an upper bound
    v3: Fix inverted check for wait_event_timeout timing out
    v4: Restore the check that the fences aren't signalled too early, by
    inspecting them before the expected timeout.

    References: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI] igt@drv_selftest@mock_fence - dmesg-fail - i915/i915_sw_fence_mock_selftests: test_dma_fence failed with error -22"
   href="show_bug.cgi?id=104670">https://bugs.freedesktop.org/show_bug.cgi?id=104670</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Cc: Tvrtko Ursulin <<a href="mailto:tvrtko.ursulin@intel.com">tvrtko.ursulin@intel.com</a>>
    Reviewed-by: Tvrtko Ursulin <<a href="mailto:tvrtko.ursulin@intel.com">tvrtko.ursulin@intel.com</a>>
    Link:
<a href="https://patchwork.freedesktop.org/patch/msgid/20180117135713.2324-1-chris@chris-wilson.co.uk">https://patchwork.freedesktop.org/patch/msgid/20180117135713.2324-1-chris@chris-wilson.co.uk</a></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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>