• Home
Name Date Size #Lines LOC

..--

amdgpu/03-May-2024-5,4773,064

android/03-May-2024-11254

data/03-May-2024-249219

etnaviv/03-May-2024-2,2811,490

exynos/03-May-2024-2,3521,456

freedreno/03-May-2024-4,9563,237

include/drm/03-May-2024-11,0966,194

intel/03-May-2024-16,05912,737

libkms/03-May-2024-2,0281,404

m4/03-May-2024-65

man/03-May-2024-1,3621,163

nouveau/03-May-2024-3,2432,610

omap/03-May-2024-827565

radeon/03-May-2024-5,8814,661

rockchip/03-May-2024-501256

tegra/03-May-2024-646432

tests/03-May-2024-24,72719,086

vc4/03-May-2024-751522

.editorconfigD03-May-2024360 2417

.gitignoreD03-May-20241.4 KiB109108

Android.bpD03-May-20242.1 KiB6760

Android.sources.bpD03-May-2024229 1311

Android.sources.bp.mkD03-May-2024712 2617

CleanSpec.mkD03-May-2024490 96

Makefile.amD03-May-20244.1 KiB181134

Makefile.sourcesD03-May-2024913 4540

OWNERSD03-May-2024184 65

READMED03-May-20242 KiB6040

RELEASINGD03-May-20242.2 KiB5238

autogen.shD03-May-2024499 2113

configure.acD03-May-202419.4 KiB620528

libdrm.pc.inD03-May-2024250 119

libdrm_lists.hD03-May-20244.4 KiB11972

libdrm_macros.hD03-May-20242.6 KiB8639

libsync.hD03-May-20243.4 KiB14977

meson.buildD03-May-202411.1 KiB383342

meson_options.txtD03-May-20243.8 KiB144139

util_double_list.hD03-May-20244.6 KiB14488

util_math.hD03-May-20241.5 KiB358

xf86atomic.hD03-May-20243.8 KiB11461

xf86drm.cD03-May-2024103.6 KiB4,2942,743

xf86drm.hD03-May-202432.3 KiB884655

xf86drmHash.cD03-May-20247.1 KiB248141

xf86drmHash.hD03-May-20242 KiB4816

xf86drmMode.cD03-May-202436.1 KiB1,5851,212

xf86drmMode.hD03-May-202417 KiB552323

xf86drmRandom.cD03-May-20244.7 KiB13848

xf86drmRandom.hD03-May-20241.5 KiB369

xf86drmSL.cD03-May-20248.3 KiB319218

README

1libdrm - userspace library for drm
2
3This  is libdrm,  a userspace  library for  accessing the  DRM, direct
4rendering  manager, on  Linux,  BSD and  other  operating systems that
5support the  ioctl interface.  The library  provides wrapper functions
6for the  ioctls to avoid  exposing the kernel interface  directly, and
7for chipsets with drm memory manager, support for tracking relocations
8and  buffers.   libdrm  is  a  low-level library,  typically  used  by
9graphics drivers  such as the Mesa  DRI drivers, the  X drivers, libva
10and  similar projects.  New  functionality in  the kernel  DRM drivers
11typically requires  a new  libdrm, but a  new libdrm will  always work
12with an older kernel.
13
14
15Compiling
16---------
17
18libdrm has two build systems, a legacy autotools build system, and a newer
19meson build system. The meson build system is much faster, and offers a
20slightly different interface, but otherwise provides an equivalent feature set.
21
22To use it:
23
24    meson builddir/
25
26By default this will install into /usr/local, you can change your prefix
27with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after
28the initial meson setup).
29
30Then use ninja to build and install:
31
32    ninja -C builddir/ install
33
34If you are installing into a system location you will need to run install
35separately, and as root.
36
37
38Alternatively you can invoke autotools configure:
39
40	./configure
41
42By default, libdrm  will install into the /usr/local/  prefix.  If you
43want  to  install   this  DRM  to  replace  your   system  copy,  pass
44--prefix=/usr and  --exec-prefix=/ to configure.  If  you are building
45libdrm  from a  git checkout,  you first  need to  run  the autogen.sh
46script.  You can  pass any options to autogen.sh  that you would other
47wise  pass to configure,  or you  can just  re-run configure  with the
48options you need once autogen.sh finishes.
49
50Next step is to build libdrm:
51
52	make
53
54and once make finishes successfully, install the package using
55
56	make install
57
58If you are installing into a system location, you will need to be root
59to perform the install step.
60