xref: /linux/drivers/gpu/drm/Kconfig (revision b233b28eac0cc37d07c2d007ea08c86c778c5af4)
1#
2# Drm device configuration
3#
4# This driver provides support for the
5# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
6#
7menuconfig DRM
8	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
9	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
10	select I2C
11	select I2C_ALGOBIT
12	help
13	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
14	  introduced in XFree86 4.0. If you say Y here, you need to select
15	  the module that's right for your graphics card from the list below.
16	  These modules provide support for synchronization, security, and
17	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
18	  details.  You should also select and configure AGP
19	  (/dev/agpgart) support.
20
21config DRM_TDFX
22	tristate "3dfx Banshee/Voodoo3+"
23	depends on DRM && PCI
24	help
25	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
26	  graphics card.  If M is selected, the module will be called tdfx.
27
28config DRM_R128
29	tristate "ATI Rage 128"
30	depends on DRM && PCI
31	help
32	  Choose this option if you have an ATI Rage 128 graphics card.  If M
33	  is selected, the module will be called r128.  AGP support for
34	  this card is strongly suggested (unless you have a PCI version).
35
36config DRM_RADEON
37	tristate "ATI Radeon"
38	depends on DRM && PCI
39	help
40	  Choose this option if you have an ATI Radeon graphics card.  There
41	  are both PCI and AGP versions.  You don't need to choose this to
42	  run the Radeon in plain VGA mode.
43
44	  If M is selected, the module will be called radeon.
45
46config DRM_I810
47	tristate "Intel I810"
48	depends on DRM && AGP && AGP_INTEL
49	help
50	  Choose this option if you have an Intel I810 graphics card.  If M is
51	  selected, the module will be called i810.  AGP support is required
52	  for this driver to work.
53
54choice
55	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
56	depends on DRM && AGP && AGP_INTEL
57	optional
58
59config DRM_I830
60	tristate "i830 driver"
61	help
62	  Choose this option if you have a system that has Intel 830M, 845G,
63	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
64	  module will be called i830.  AGP support is required for this driver
65	  to work. This driver is used by the older X releases X.org 6.7 and
66	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
67	  will load the correct one.
68
69config DRM_I915
70	select FB_CFB_FILLRECT
71	select FB_CFB_COPYAREA
72	select FB_CFB_IMAGEBLIT
73	select FB
74	tristate "i915 driver"
75	help
76	  Choose this option if you have a system that has Intel 830M, 845G,
77	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
78	  module will be called i915.  AGP support is required for this driver
79	  to work. This driver is used by the Intel driver in X.org 6.8 and
80	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
81	  the X server will load the correct one.
82
83endchoice
84
85config DRM_I915_KMS
86	bool "Enable modesetting on intel by default"
87	depends on DRM_I915
88	help
89	Choose this option if you want kernel modesetting enabled by default,
90	and you have a new enough userspace to support this. Running old
91	userspaces with this enabled will cause pain.  Note that this causes
92	the driver to bind to PCI devices, which precludes loading things
93	like intelfb.
94
95
96config DRM_MGA
97	tristate "Matrox g200/g400"
98	depends on DRM
99	help
100	  Choose this option if you have a Matrox G200, G400 or G450 graphics
101	  card.  If M is selected, the module will be called mga.  AGP
102	  support is required for this driver to work.
103
104config DRM_SIS
105	tristate "SiS video cards"
106	depends on DRM && AGP
107	depends on FB_SIS || FB_SIS=n
108	help
109	  Choose this option if you have a SiS 630 or compatible video
110          chipset. If M is selected the module will be called sis. AGP
111          support is required for this driver to work.
112
113config DRM_VIA
114	tristate "Via unichrome video cards"
115	depends on DRM
116	help
117	  Choose this option if you have a Via unichrome or compatible video
118	  chipset. If M is selected the module will be called via.
119
120config DRM_SAVAGE
121	tristate "Savage video cards"
122	depends on DRM
123	help
124	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
125	  chipset. If M is selected the module will be called savage.
126