[Intel-gfx] uxa_prepare_access can fail

Keith Packard keithp at keithp.com
Sat Dec 13 23:54:08 CET 2008


Running UXA overnight, I had the kernel fail to map a new pixmap (that's
a separate issue, of course). However, nothing up the call stack checks
this failure, and so the X server happily attempts to dereference NULL.

I've patched libdrm/intel (to actually return the kernel error) and then
patched uxa to check for the error.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-intel-return-error-status-from-drm_intel_gem_bo_map.patch
Type: application/mbox
Size: 1404 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081213/cabf2fae/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-and-deal-with-drm_bo_map-failure.patch
Type: application/mbox
Size: 23020 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081213/cabf2fae/attachment-0001.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081213/cabf2fae/attachment.sig>


More information about the Intel-gfx mailing list