• Home
Name Date Size #Lines LOC

..--

libdrm/03-May-2024-24,93019,102

shared-core/03-May-2024-8,8205,802

tests/03-May-2024-4,6583,531

Android.mkD03-May-20241.5 KiB6250

Makefile.amD03-May-20241.4 KiB315

Makefile.inD03-May-202421.9 KiB689587

READMED03-May-20241.9 KiB7344

aclocal.m4D03-May-2024312.8 KiB9,0138,073

config.guessD03-May-202441.1 KiB1,4081,211

config.subD03-May-202429.6 KiB1,5051,364

configureD03-May-2024410.6 KiB14,20411,133

configure.acD03-May-20245.5 KiB164135

depcompD03-May-202417.2 KiB585370

install-shD03-May-202412.9 KiB508340

libdrm.pc.inD03-May-2024247 119

libdrm_intel.pc.inD03-May-2024259 119

ltmain.shD03-May-2024237.7 KiB8,4146,482

missingD03-May-202410.9 KiB368275

README

1
2DRM README file
3
4
5There are two main parts to this package: the DRM client library/interface
6(libdrm.so) and kernel/hardware-specific device modules (such as radeon.ko).
7The kernel device modules are not shipped with libdrm releases and should only
8be built from the git tree by developers and bleeding-edge testers of
9non-Intel hardware.  The Intel kernel modules are developed in the Linux
10kernel tree.
11
12
13Compiling
14---------
15
16By default, libdrm and the DRM header files will install into /usr/local/.
17If you want to install this DRM to replace your system copy, say:
18
19	./configure --prefix=/usr --exec-prefix=/
20
21Then,
22	make install
23
24
25To build the device-specific kernel modules from the git tree:
26
27	cd linux-core/
28	make
29	cp *.ko /lib/modules/VERSION/kernel/drivers/char/drm/
30	   (where VERSION is your kernel version: uname -f)
31
32Or,
33	cd bsd-core/
34	make
35	copy the kernel modules to the appropriate place
36
37
38
39Tips & Trouble-shooting
40-----------------------
41
421. You'll need kernel sources.  If using Fedora Core 5, for example, you may
43   need to install RPMs such as:
44
45	kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm
46	kernel-devel-2.6.15-1.2054_FC5.i686.rpm
47	etc.
48
49
502. You may need to make a symlink from /lib/modules/VERSION/build to your
51   kernel sources in /usr/src/kernels/VERSION (where version is `uname -r`):
52
53	cd /lib/modules/VERSION
54	ln -s /usr/src/kernels/VERSION build
55
56
573. If you've build the kernel modules but they won't load because of an
58   error like this:
59
60	$ /sbin/modprobe drm
61	FATAL: Error inserting drm (/lib/modules/2.6.15-1.2054_FC5smp/kernel/drivers/char/drm/drm.ko): Invalid module format
62
63   And 'dmesg|tail' says:
64
65	drm: disagrees about version of symbol struct_module
66
67   Try recompiling your drm modules without the Module.symvers file.
68   That is rm the /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/Module.symvers
69   file (or rename it).  Then do a 'make clean' before rebuilding your drm
70   modules.
71
72
73