<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Xorg segfault on cpu which does not support PAT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110774#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Xorg segfault on cpu which does not support PAT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110774">bug 110774</a>
              from <span class="vcard"><a class="email" href="mailto:ssheribe@redhat.com" title="Snir Sheriber <ssheribe@redhat.com>"> <span class="fn">Snir Sheriber</span></a>
</span></b>
        <pre>The kernel is already failing DRM_IOCTL_I915_GEM_MMAP with I915_MMAP_WC flag if
PAT is not supported so that brw_bo_map_wc returns null.

I'm not familiar with this code nor the graphical stack but as i saw on other
code parts usually when brw_bo_map is called the returned value is checked, in
this case calling brw_bo_map assumes success, which results in segfault.

(BTW is it possible to somehow not to avoid the gtt_map in this case?)</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 the QA Contact for the bug.</li>
      </ul>
    </body>
</html>