<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][DRMTIP] igt@kms_vblank@pipe-a-wait-busy-hang - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 / error: -5 != 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107754">bug 107754</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI][DRMTIP] igt@kms_vblank@pipe-a-wait-busy-hang - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 / error: -5 != 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107754#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [CI][DRMTIP] igt@kms_vblank@pipe-a-wait-busy-hang - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 / error: -5 != 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107754">bug 107754</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>Lots of

<7>[  192.784110] [drm:i915_reset_device [i915]] resetting chip
<5>[  192.784186] i915 0000:00:06.0: Resetting chip for Manually set wedged
engine mask = ffffffffffffffff
<3>[  192.989305] i915 0000:00:06.0: Failed to idle engines, declaring wedged!

abound. Looks like it stemmed from the loss of reseting preempt across a GPU
reset.

commit 0051163ab3d8090a08ea2ea5edbb738c0920000a
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Mon Jul 16 13:54:24 2018 +0100

    drm/i915/execlists: Always clear preempt status on cancelling all

    On reset/wedging, we cancel all pending replies from the HW and we also
    want to cancel an outstanding preemption event. Since we use the same
    function to cancel the pending replies for reset and for a preemption
    event, we can simply clear the active tracking for all.

    v2: Keep execlists_user_end() markup for wedging
    v3: Move assignment to inline to hide the bare assignment.

    Fixes: 60a943245413 ("drm/i915/execlists: Drop clear_gtiir() on GPU reset")
    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/20180716125424.5715-1-chris@chris-wilson.co.uk">https://patchwork.freedesktop.org/patch/msgid/20180716125424.5715-1-chris@chris-wilson.co.uk</a></pre>
        </div>
      </p>


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

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