<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [SKL, bisected] ASTC dEQP tests segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93257#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [SKL, bisected] ASTC dEQP tests segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93257">bug 93257</a>
              from <span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span></b>
        <pre>It looks like this is a bug with GL_KHR_surfaceless_context which deqp is using
when the target is DRM. With this extension the read and draw surfaces can be
NULL. When glViewport is called the i965 driver tries to invalidate these two
surfaces so it crashes on the NULL pointer.

Ben's patch makes it hit this bug because glViewport is called when restoring
the saved meta state after doing a fast clear. The saved meta state is using
the window system draw buffer which in this case will be NULL.

I've made a patch for this here:

<a href="http://patchwork.freedesktop.org/patch/67357/">http://patchwork.freedesktop.org/patch/67357/</a>

And a piglit test case here:

<a href="http://patchwork.freedesktop.org/patch/67356/">http://patchwork.freedesktop.org/patch/67356/</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>