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