Home | History | Annotate | only in /external/libdrm
Up to higher level directory
NameDateSize
.gitignore24-Aug-20161.2K
amdgpu/24-Aug-2016
Android.mk24-Aug-20162K
autogen.sh24-Aug-2016232
CleanSpec.mk24-Aug-2016311
configure.ac24-Aug-201617.8K
exynos/24-Aug-2016
freedreno/24-Aug-2016
include/24-Aug-2016
intel/24-Aug-2016
libdrm.pc.in24-Aug-2016250
libdrm_lists.h24-Aug-20164.4K
libdrm_macros.h24-Aug-20162.6K
libkms/24-Aug-2016
m4/24-Aug-2016
Makefile.am24-Aug-20163.2K
Makefile.sources24-Aug-2016783
man/24-Aug-2016
nouveau/24-Aug-2016
omap/24-Aug-2016
radeon/24-Aug-2016
README24-Aug-20161.6K
RELEASING24-Aug-20162.7K
rockchip/24-Aug-2016
tegra/24-Aug-2016
tests/24-Aug-2016
util_double_list.h24-Aug-20164.4K
util_math.h24-Aug-20161.5K
xf86atomic.h24-Aug-20163.8K
xf86drm.c24-Aug-201676.2K
xf86drm.h24-Aug-201629.4K
xf86drmHash.c24-Aug-20167.2K
xf86drmHash.h24-Aug-20162K
xf86drmMode.c24-Aug-201638K
xf86drmMode.h24-Aug-201616.4K
xf86drmRandom.c24-Aug-20164.7K
xf86drmRandom.h24-Aug-20161.5K
xf86drmSL.c24-Aug-20168.3K

README

      1 libdrm - userspace library for drm
      2 
      3 This  is libdrm,  a userspace  library for  accessing the  DRM, direct
      4 rendering  manager, on  Linux,  BSD and  other  operating systes  that
      5 support the  ioctl interface.  The library  provides wrapper functions
      6 for the  ioctls to avoid  exposing the kernel interface  directly, and
      7 for chipsets with drm memory manager, support for tracking relocations
      8 and  buffers.   libdrm  is  a  low-level library,  typically  used  by
      9 graphics drivers  such as the Mesa  DRI drivers, the  X drivers, libva
     10 and  similar projects.  New  functionality in  the kernel  DRM drivers
     11 typically requires  a new  libdrm, but a  new libdrm will  always work
     12 with an older kernel.
     13 
     14 
     15 Compiling
     16 ---------
     17 
     18 libdrm  is  a  standard  autotools  packages and  follows  the  normal
     19 configure, build  and install steps.   The first step is  to configure
     20 the package, which is done by running the configure shell script:
     21 
     22 	./configure
     23 
     24 By default, libdrm  will install into the /usr/local/  prefix.  If you
     25 want  to  install   this  DRM  to  replace  your   system  copy,  pass
     26 --prefix=/usr and  --exec-prefix=/ to configure.  If  you are building
     27 libdrm  from a  git checkout,  you first  need to  run  the autogen.sh
     28 script.  You can  pass any options to autogen.sh  that you would other
     29 wise  pass to configure,  or you  can just  re-run configure  with the
     30 options you need once autogen.sh finishes.
     31 
     32 Next step is to build libdrm:
     33 
     34 	make
     35 
     36 and once make finishes successfully, install the package using
     37 
     38 	make install
     39 
     40 If you are install into a system location, you will need to be root to
     41 perform the install step.
     42