aosp12/external/libdrm
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
.gitlab-ci init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
amdgpu init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
android init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
data init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
etnaviv init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
exynos init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
freedreno init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
include/drm init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
intel init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libkms init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
man init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
nouveau init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
omap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
radeon init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tegra init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tests init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
vc4 init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.editorconfig init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitlab-ci.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.sources.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.sources.bp.mk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CONTRIBUTING.rst init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CleanSpec.mk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LICENSE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Makefile.sources init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.rst init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
RELEASING init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
core-symbols.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libdrm.pc.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libdrm_lists.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libdrm_macros.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libsync.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
meson.build init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
meson_options.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
symbols-check.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
util_double_list.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
util_math.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86atomic.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drm.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drm.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmHash.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmHash.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmMode.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmMode.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmRandom.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmRandom.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
xf86drmSL.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

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.