[Bug 110774] Xorg segfault on cpu which does not support PAT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 28 09:15:22 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110774

--- Comment #3 from Snir Sheriber <ssheribe at redhat.com> ---
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?)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190528/b5573fc9/attachment.html>


More information about the intel-3d-bugs mailing list