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.
sandy 99da0f2c72 pl286 release code 4 years ago
..
amdgpu pl286 release code 4 years ago
etnaviv pl286 release code 4 years ago
exynos pl286 release code 4 years ago
freedreno pl286 release code 4 years ago
include/drm pl286 release code 4 years ago
intel pl286 release code 4 years ago
libkms pl286 release code 4 years ago
man pl286 release code 4 years ago
nouveau pl286 release code 4 years ago
omap pl286 release code 4 years ago
radeon pl286 release code 4 years ago
rockchip pl286 release code 4 years ago
tegra pl286 release code 4 years ago
tests pl286 release code 4 years ago
vc4 pl286 release code 4 years ago
.editorconfig pl286 release code 4 years ago
Android.common.mk pl286 release code 4 years ago
Android.mk pl286 release code 4 years ago
CleanSpec.mk pl286 release code 4 years ago
Makefile.am pl286 release code 4 years ago
Makefile.sources pl286 release code 4 years ago
README pl286 release code 4 years ago
RELEASING pl286 release code 4 years ago
autogen.sh pl286 release code 4 years ago
configure.ac pl286 release code 4 years ago
libdrm.pc.in pl286 release code 4 years ago
libdrm_lists.h pl286 release code 4 years ago
libdrm_macros.h pl286 release code 4 years ago
libsync.h pl286 release code 4 years ago
util_double_list.h pl286 release code 4 years ago
util_math.h pl286 release code 4 years ago
xf86atomic.h pl286 release code 4 years ago
xf86drm.c pl286 release code 4 years ago
xf86drm.h pl286 release code 4 years ago
xf86drmHash.c pl286 release code 4 years ago
xf86drmHash.h pl286 release code 4 years ago
xf86drmMode.c pl286 release code 4 years ago
xf86drmMode.h pl286 release code 4 years ago
xf86drmRandom.c pl286 release code 4 years ago
xf86drmRandom.h pl286 release code 4 years ago
xf86drmSL.c pl286 release code 4 years ago

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 a standard autotools package and follows the normal
configure, build and install steps. The first step is to configure
the package, which is done by running the configure shell script:

./configure

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 and --exec-prefix=/ to configure. If you are building
libdrm from a git checkout, you first need to run the autogen.sh
script. You can pass any options to autogen.sh that you would other
wise pass to configure, or you can just re-run configure with the
options you need once autogen.sh finishes.

Next step is to build libdrm:

make

and once make finishes successfully, install the package using

make install

If you are installing into a system location, you will need to be root
to perform the install step.