https://github.com/dcbaker/libdrm
Personal libdrm repo
https://github.com/dcbaker/libdrm
Last synced: about 2 months ago
JSON representation
Personal libdrm repo
- Host: GitHub
- URL: https://github.com/dcbaker/libdrm
- Owner: dcbaker
- Created: 2017-03-16T17:53:42.000Z (over 9 years ago)
- Default Branch: wip/meson
- Last Pushed: 2021-04-12T17:34:09.000Z (about 5 years ago)
- Last Synced: 2025-03-20T07:17:33.057Z (over 1 year ago)
- Language: C
- Size: 8.28 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
libdrm - userspace library for drm
This is libdrm, a userspace library for accessing the DRM, direct
rendering manager, on Linux, BSD and other operating systems that
support the ioctl interface. The library provides wrapper functions
for the ioctls to avoid exposing the kernel interface directly, and
for chipsets with drm memory manager, support for tracking relocations
and buffers. libdrm is a low-level library, typically used by
graphics drivers such as the Mesa DRI drivers, the X drivers, libva
and similar projects. New functionality in the kernel DRM drivers
typically requires a new libdrm, but a new libdrm will always work
with an older kernel.
Compiling
---------
libdrm is compiled using meson and ninja. The first step for building for a
tar-ball or from git is to configure, and set a build directory:
meson build
By default, libdrm will install into the /usr/local/ prefix. If you
want to install this DRM to replace your system copy, pass
--prefix=/usr to meson, or -Dprefix=/usr to mesonconf.
Next step is to build libdrm:
ninja -C build
and once make finishes successfully, install the package using
ninja install
If you are installing into a system location, you will need to be root
to perform the install step.