xenocara/lib/libdrm
jsg 038e48492e Implement drmGetMinorNameForFD for systems without sysfs by adapting
drm_get_device_name_for_fd() from the Mesa loader.

ok kettenis@
2016-11-25 23:41:29 +00:00
..
amdgpu Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
build-aux regen 2015-08-22 00:36:45 +00:00
etnaviv Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
exynos Import libdrm 2.4.71 2016-10-16 06:01:17 +00:00
freedreno Import libdrm 2.4.73 2016-11-19 05:36:14 +00:00
include/drm Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
intel Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
libkms Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
m4 Merge libdrm 2.4.67 2016-03-20 10:41:29 +00:00
man Import libdrm 2.4.71 2016-10-16 06:01:17 +00:00
nouveau Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
omap regen 2016-10-11 22:14:30 +00:00
radeon Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
tegra regen 2016-10-11 22:14:30 +00:00
tests Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
vc4 regen 2016-10-11 22:14:30 +00:00
aclocal.m4 regen 2016-10-11 22:14:30 +00:00
config.h.in Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
configure Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
configure.ac Merge libdrm 2.4.73 2016-11-19 05:45:00 +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
libsync.h Import libdrm 2.4.73 2016-11-19 05:36:14 +00:00
Makefile.am Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
Makefile.bsd-wrapper Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
Makefile.in Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
Makefile.sources Merge libdrm 2.4.73 2016-11-19 05:45:00 +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.71 2016-10-16 06:01:17 +00:00
util_math.h Import libdrm 2.4.67 2016-03-20 10:19:44 +00:00
xf86atomic.h Merge libdrm 2.4.67 2016-03-20 10:41:29 +00:00
xf86drm.c Implement drmGetMinorNameForFD for systems without sysfs by adapting 2016-11-25 23:41:29 +00:00
xf86drm.h Merge libdrm 2.4.67 2016-03-20 10:41:29 +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.73 2016-11-19 05:45:00 +00:00
xf86drmMode.h Merge libdrm 2.4.73 2016-11-19 05:45:00 +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.