3 ATTENTION NetBSD-current users (those with userland atomic ops):
5 In order to achieve maximum benefits from this package, please
6 apply the following patch for x11/libdrm, making sure to build
7 graphics/MesaLib with the updated xf86drm.h.
9 <ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patches/libdrm-atomic.diff>
11 This will teach the [userland] dri drivers, mesa, and the X server's glxdri
12 how to use atomic_cas_uint() for DRM_CAS.
14 Also, if you're curious, you may try defining the MESA_EXECMEM_WIRED
15 environment variable in your .xinitrc [or equivlent]. This will cause
16 the heap used for glx/DRI in the X server and mesa to be wired down.