README.rst revision 9bd392ad
19bd392adSmrglibdrm - userspace library for drm 29bd392adSmrg---------------------------------- 39bd392adSmrg 49bd392adSmrgThis is libdrm, a userspace library for accessing the DRM, direct rendering 59bd392adSmrgmanager, on Linux, BSD and other operating systems that support the ioctl 69bd392adSmrginterface. 79bd392adSmrgThe library provides wrapper functions for the ioctls to avoid exposing the 89bd392adSmrgkernel interface directly, and for chipsets with drm memory manager, support 99bd392adSmrgfor tracking relocations and buffers. 109bd392adSmrgNew functionality in the kernel DRM drivers typically requires a new libdrm, 119bd392adSmrgbut a new libdrm will always work with an older kernel. 129bd392adSmrg 139bd392adSmrglibdrm is a low-level library, typically used by graphics drivers such as 149bd392adSmrgthe Mesa drivers, the X drivers, libva and similar projects. 159bd392adSmrg 169bd392adSmrg 179bd392adSmrgCompiling 189bd392adSmrg--------- 199bd392adSmrg 209bd392adSmrgTo set up meson: 219bd392adSmrg 229bd392adSmrg meson builddir/ 239bd392adSmrg 249bd392adSmrgBy default this will install into /usr/local, you can change your prefix 259bd392adSmrgwith --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after 269bd392adSmrgthe initial meson setup). 279bd392adSmrg 289bd392adSmrgThen use ninja to build and install: 299bd392adSmrg 309bd392adSmrg ninja -C builddir/ install 319bd392adSmrg 329bd392adSmrgIf you are installing into a system location you will need to run install 339bd392adSmrgseparately, and as root. 34