README.rst 1.1 KB

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