OSDN Git Service

modetest: set atomic cap, _only_ when needed
[android-x86/external-libdrm.git] / README.rst
1 libdrm - userspace library for drm
2 ----------------------------------
3
4 This is libdrm, a userspace library for accessing the DRM, direct rendering
5 manager, on Linux, BSD and other operating systems that support the ioctl
6 interface.
7 The library provides wrapper functions for the ioctls to avoid exposing the
8 kernel interface directly, and for chipsets with drm memory manager, support
9 for tracking relocations and buffers.
10 New functionality in the kernel DRM drivers typically requires a new libdrm,
11 but a new libdrm will always work with an older kernel.
12
13 libdrm is a low-level library, typically used by graphics drivers such as
14 the Mesa drivers, the X drivers, libva and similar projects.
15
16
17 Compiling
18 ---------
19
20 To set up meson:
21
22     meson builddir/
23
24 By default this will install into /usr/local, you can change your prefix
25 with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after 
26 the initial meson setup).
27
28 Then use ninja to build and install:
29
30     ninja -C builddir/ install
31
32 If you are installing into a system location you will need to run install
33 separately, and as root.