<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI][SHARDS] igt@gem_exec_schedule@* - fail - Failed assertion: result(_read)? == ctx..."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109662#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI][SHARDS] igt@gem_exec_schedule@* - fail - Failed assertion: result(_read)? == ctx..."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109662">bug 109662</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>The important distinction here is the read result is 0. That means we read it
before the result was written at all (not that the requests were out of order).
So a GPU <-> CPU synchronization issue, all because we are telling porkies to
the kernel and it doesn't know we are writing into the buffer and that it must
flush any caches before reading.

Regression from

commit 7802324e86ddf947cba847e910f75b1a8affe8d7
Author: Antonio Argenziano <<a href="mailto:antonio.argenziano@intel.com">antonio.argenziano@intel.com</a>>
Date:   Fri Feb 15 07:42:02 2019 -0800

    tests/i915/gem_exec_schedule.c: Switch to gem_sync and gem_read

as gem_sync isn't enough -- mea culpa.</pre>
        </div>
      </p>


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

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