<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SNA HSW] Corruption in OpenGL video output (DRI2 + TearFree)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95414#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SNA HSW] Corruption in OpenGL video output (DRI2 + TearFree)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95414">bug 95414</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>New theory:

--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -1282,6 +1282,7 @@ void i915_vma_move_to_active(struct i915_vma *vma,

                /* update for the implicit flush after a batch */
                obj->base.write_domain &= ~I915_GEM_GPU_DOMAINS;
+               obj->cache_dirty |= obj->cache_level != I915_CACHE_NONE;
        }

        if (flags & EXEC_OBJECT_NEEDS_FENCE)

Can you please try
<a href="https://cgit.freedesktop.org/~ickle/linux-2.6/log/?h=prescheduler">https://cgit.freedesktop.org/~ickle/linux-2.6/log/?h=prescheduler</a></pre>
        </div>
      </p>


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

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