You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
amdgpu v811_spc009_project 4 months ago
android v811_spc009_project 4 months ago
data v811_spc009_project 4 months ago
etnaviv v811_spc009_project 4 months ago
exynos v811_spc009_project 4 months ago
freedreno v811_spc009_project 4 months ago
include/drm v811_spc009_project 4 months ago
intel v811_spc009_project 4 months ago
libkms v811_spc009_project 4 months ago
man v811_spc009_project 4 months ago
nouveau v811_spc009_project 4 months ago
omap v811_spc009_project 4 months ago
radeon v811_spc009_project 4 months ago
tegra v811_spc009_project 4 months ago
tests v811_spc009_project 4 months ago
vc4 v811_spc009_project 4 months ago
.editorconfig v811_spc009_project 4 months ago
Android.bp v811_spc009_project 4 months ago
Android.sources.bp v811_spc009_project 4 months ago
Android.sources.bp.mk v811_spc009_project 4 months ago
CONTRIBUTING.rst v811_spc009_project 4 months ago
CleanSpec.mk v811_spc009_project 4 months ago
LICENSE v811_spc009_project 4 months ago
METADATA v811_spc009_project 4 months ago
Makefile.sources v811_spc009_project 4 months ago
OWNERS v811_spc009_project 4 months ago
README.rst v811_spc009_project 4 months ago
RELEASING v811_spc009_project 4 months ago
core-symbols.txt v811_spc009_project 4 months ago
libdrm.pc.in v811_spc009_project 4 months ago
libdrm_lists.h v811_spc009_project 4 months ago
libdrm_macros.h v811_spc009_project 4 months ago
libsync.h v811_spc009_project 4 months ago
meson.build v811_spc009_project 4 months ago
meson_options.txt v811_spc009_project 4 months ago
symbols-check.py v811_spc009_project 4 months ago
util_double_list.h v811_spc009_project 4 months ago
util_math.h v811_spc009_project 4 months ago
xf86atomic.h v811_spc009_project 4 months ago
xf86drm.c v811_spc009_project 4 months ago
xf86drm.h v811_spc009_project 4 months ago
xf86drmHash.c v811_spc009_project 4 months ago
xf86drmHash.h v811_spc009_project 4 months ago
xf86drmMode.c v811_spc009_project 4 months ago
xf86drmMode.h v811_spc009_project 4 months ago
xf86drmRandom.c v811_spc009_project 4 months ago
xf86drmRandom.h v811_spc009_project 4 months ago
xf86drmSL.c v811_spc009_project 4 months ago

README.rst

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.
New functionality in the kernel DRM drivers typically requires a new libdrm,
but a new libdrm will always work with an older kernel.

libdrm is a low-level library, typically used by graphics drivers such as
the Mesa drivers, the X drivers, libva and similar projects.


Compiling
---------

To set up meson:

    meson builddir/

By default this will install into /usr/local, you can change your prefix
with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after 
the initial meson setup).

Then use ninja to build and install:

    ninja -C builddir/ install

If you are installing into a system location you will need to run install
separately, and as root.