xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision 82ced6fd)
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	select FRAMEBUFFER_CONSOLE if !EMBEDDED
75	tristate "i915 driver"
76	help
77	  Choose this option if you have a system that has Intel 830M, 845G,
78	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
79	  module will be called i915.  AGP support is required for this driver
80	  to work. This driver is used by the Intel driver in X.org 6.8 and
81	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
82	  the X server will load the correct one.
83
84config DRM_I915_KMS
85	bool "Enable modesetting on intel by default"
86	depends on DRM_I915
87	# i915 KMS depends on ACPI_VIDEO when ACPI is enabled
88	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
89	select VIDEO_OUTPUT_CONTROL if ACPI
90	select BACKLIGHT_CLASS_DEVICE if ACPI
91	select INPUT if ACPI
92	select ACPI_VIDEO if ACPI
93	help
94	  Choose this option if you want kernel modesetting enabled by default,
95	  and you have a new enough userspace to support this. Running old
96	  userspaces with this enabled will cause pain.  Note that this causes
97	  the driver to bind to PCI devices, which precludes loading things
98	  like intelfb.
99
100endchoice
101
102config DRM_MGA
103	tristate "Matrox g200/g400"
104	depends on DRM
105	help
106	  Choose this option if you have a Matrox G200, G400 or G450 graphics
107	  card.  If M is selected, the module will be called mga.  AGP
108	  support is required for this driver to work.
109
110config DRM_SIS
111	tristate "SiS video cards"
112	depends on DRM && AGP
113	depends on FB_SIS || FB_SIS=n
114	help
115	  Choose this option if you have a SiS 630 or compatible video
116          chipset. If M is selected the module will be called sis. AGP
117          support is required for this driver to work.
118
119config DRM_VIA
120	tristate "Via unichrome video cards"
121	depends on DRM
122	help
123	  Choose this option if you have a Via unichrome or compatible video
124	  chipset. If M is selected the module will be called via.
125
126config DRM_SAVAGE
127	tristate "Savage video cards"
128	depends on DRM
129	help
130	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
131	  chipset. If M is selected the module will be called savage.
132