xenocara/lib/libdrm
2015-12-27 08:58:00 +00:00
..
amdgpu Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
build-aux regen 2015-08-22 00:36:45 +00:00
exynos regen 2015-08-22 00:36:45 +00:00
freedreno Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
include/drm Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
intel regen 2015-08-22 00:36:45 +00:00
libkms regen 2015-08-22 00:36:45 +00:00
m4 regen 2015-08-22 00:36:45 +00:00
man regen 2015-08-22 00:36:45 +00:00
nouveau Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
omap Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
radeon Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
tegra regen 2015-08-22 00:36:45 +00:00
tests Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
aclocal.m4 regen 2015-08-22 00:36:45 +00:00
Android.mk Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
config.h.in Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
configure regen 2015-08-28 14:25:40 +00:00
configure.ac The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with 2015-08-28 14:25:03 +00:00
libdrm_lists.h update to libdrm 2.4.42 2013-03-25 02:32:20 +00:00
libdrm_macros.h update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
libdrm.pc.in Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
Makefile.am Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
Makefile.bsd-wrapper Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
Makefile.in regen 2015-08-22 00:36:45 +00:00
Makefile.sources Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
README Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
util_double_list.h Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
util_math.h Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
xf86atomic.h Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
xf86drm.c Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
xf86drm.h Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
xf86drmHash.c update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
xf86drmHash.h update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
xf86drmMode.c Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
xf86drmMode.h Merge libdrm 2.4.64. This changes the build to using the upstream 2015-08-22 00:30:35 +00:00
xf86drmRandom.c update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
xf86drmRandom.h update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
xf86drmSL.c update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00

libdrm - userspace library for drm

This  is libdrm,  a userspace  library for  accessing the  DRM, direct
rendering  manager, on  Linux,  BSD and  other  operating systes  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  packages 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 install into a system location, you will need to be root to
perform the install step.