xref: /linux/drivers/gpu/drm/Kconfig (revision 0d456bad36d42d16022be045c8a53ddbb59ee478)
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) && !EMULATED_CMPXCHG && MMU
10	select I2C
11	select I2C_ALGOBIT
12	select DMA_SHARED_BUFFER
13	help
14	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
15	  introduced in XFree86 4.0. If you say Y here, you need to select
16	  the module that's right for your graphics card from the list below.
17	  These modules provide support for synchronization, security, and
18	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
19	  details.  You should also select and configure AGP
20	  (/dev/agpgart) support if it is available for your platform.
21
22config DRM_USB
23	tristate
24	depends on DRM
25	depends on USB_SUPPORT && USB_ARCH_HAS_HCD
26	select USB
27
28config DRM_KMS_HELPER
29	tristate
30	depends on DRM
31	select FB
32	select FRAMEBUFFER_CONSOLE if !EXPERT
33	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
34	help
35	  FB and CRTC helpers for KMS drivers.
36
37config DRM_LOAD_EDID_FIRMWARE
38	bool "Allow to specify an EDID data set instead of probing for it"
39	depends on DRM_KMS_HELPER
40	help
41	  Say Y here, if you want to use EDID data to be loaded from the
42	  /lib/firmware directory or one of the provided built-in
43	  data sets. This may be necessary, if the graphics adapter or
44	  monitor are unable to provide appropriate EDID data. Since this
45	  feature is provided as a workaround for broken hardware, the
46	  default case is N. Details and instructions how to build your own
47	  EDID data are given in Documentation/EDID/HOWTO.txt.
48
49config DRM_TTM
50	tristate
51	depends on DRM
52	help
53	  GPU memory management subsystem for devices with multiple
54	  GPU memory types. Will be enabled automatically if a device driver
55	  uses it.
56
57config DRM_GEM_CMA_HELPER
58	bool
59	depends on DRM
60	help
61	  Choose this if you need the GEM CMA helper functions
62
63config DRM_KMS_CMA_HELPER
64	bool
65	select DRM_GEM_CMA_HELPER
66	select FB_SYS_FILLRECT
67	select FB_SYS_COPYAREA
68	select FB_SYS_IMAGEBLIT
69	help
70	  Choose this if you need the KMS CMA helper functions
71
72config DRM_TDFX
73	tristate "3dfx Banshee/Voodoo3+"
74	depends on DRM && PCI
75	help
76	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
77	  graphics card.  If M is selected, the module will be called tdfx.
78
79config DRM_R128
80	tristate "ATI Rage 128"
81	depends on DRM && PCI
82	select FW_LOADER
83	help
84	  Choose this option if you have an ATI Rage 128 graphics card.  If M
85	  is selected, the module will be called r128.  AGP support for
86	  this card is strongly suggested (unless you have a PCI version).
87
88config DRM_RADEON
89	tristate "ATI Radeon"
90	depends on DRM && PCI
91	select FB_CFB_FILLRECT
92	select FB_CFB_COPYAREA
93	select FB_CFB_IMAGEBLIT
94	select FW_LOADER
95        select DRM_KMS_HELPER
96        select DRM_TTM
97	select POWER_SUPPLY
98	select HWMON
99	help
100	  Choose this option if you have an ATI Radeon graphics card.  There
101	  are both PCI and AGP versions.  You don't need to choose this to
102	  run the Radeon in plain VGA mode.
103
104	  If M is selected, the module will be called radeon.
105
106source "drivers/gpu/drm/radeon/Kconfig"
107
108source "drivers/gpu/drm/nouveau/Kconfig"
109
110config DRM_I810
111	tristate "Intel I810"
112	# !PREEMPT because of missing ioctl locking
113	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
114	help
115	  Choose this option if you have an Intel I810 graphics card.  If M is
116	  selected, the module will be called i810.  AGP support is required
117	  for this driver to work.
118
119config DRM_I915
120	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
121	depends on DRM
122	depends on AGP
123	depends on AGP_INTEL
124	# we need shmfs for the swappable backing store, and in particular
125	# the shmem_readpage() which depends upon tmpfs
126	select SHMEM
127	select TMPFS
128	select DRM_KMS_HELPER
129	select FB_CFB_FILLRECT
130	select FB_CFB_COPYAREA
131	select FB_CFB_IMAGEBLIT
132	# i915 depends on ACPI_VIDEO when ACPI is enabled
133	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
134	select BACKLIGHT_LCD_SUPPORT if ACPI
135	select BACKLIGHT_CLASS_DEVICE if ACPI
136	select VIDEO_OUTPUT_CONTROL if ACPI
137	select INPUT if ACPI
138	select ACPI_VIDEO if ACPI
139	select ACPI_BUTTON if ACPI
140	help
141	  Choose this option if you have a system that has "Intel Graphics
142	  Media Accelerator" or "HD Graphics" integrated graphics,
143	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
144	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
145	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.
146	  If M is selected, the module will be called i915.  AGP support
147	  is required for this driver to work. This driver is used by
148	  the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
149	  replaces the older i830 module that supported a subset of the
150	  hardware in older X.org releases.
151
152	  Note that the older i810/i815 chipsets require the use of the
153	  i810 driver instead, and the Atom z5xx series has an entirely
154	  different implementation.
155
156config DRM_I915_KMS
157	bool "Enable modesetting on intel by default"
158	depends on DRM_I915
159	help
160	  Choose this option if you want kernel modesetting enabled by default,
161	  and you have a new enough userspace to support this. Running old
162	  userspaces with this enabled will cause pain.  Note that this causes
163	  the driver to bind to PCI devices, which precludes loading things
164	  like intelfb.
165
166config DRM_MGA
167	tristate "Matrox g200/g400"
168	depends on DRM && PCI
169	select FW_LOADER
170	help
171	  Choose this option if you have a Matrox G200, G400 or G450 graphics
172	  card.  If M is selected, the module will be called mga.  AGP
173	  support is required for this driver to work.
174
175config DRM_SIS
176	tristate "SiS video cards"
177	depends on DRM && AGP
178	depends on FB_SIS || FB_SIS=n
179	help
180	  Choose this option if you have a SiS 630 or compatible video
181          chipset. If M is selected the module will be called sis. AGP
182          support is required for this driver to work.
183
184config DRM_VIA
185	tristate "Via unichrome video cards"
186	depends on DRM && PCI
187	help
188	  Choose this option if you have a Via unichrome or compatible video
189	  chipset. If M is selected the module will be called via.
190
191config DRM_SAVAGE
192	tristate "Savage video cards"
193	depends on DRM && PCI
194	help
195	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
196	  chipset. If M is selected the module will be called savage.
197
198source "drivers/gpu/drm/exynos/Kconfig"
199
200source "drivers/gpu/drm/vmwgfx/Kconfig"
201
202source "drivers/gpu/drm/gma500/Kconfig"
203
204source "drivers/gpu/drm/udl/Kconfig"
205
206source "drivers/gpu/drm/ast/Kconfig"
207
208source "drivers/gpu/drm/mgag200/Kconfig"
209
210source "drivers/gpu/drm/cirrus/Kconfig"
211
212source "drivers/gpu/drm/shmobile/Kconfig"
213
214source "drivers/gpu/drm/tegra/Kconfig"
215