xref: /linux/drivers/gpu/drm/Kconfig (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
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 FB_CMDLINE
12	select I2C
13	select I2C_ALGOBIT
14	select DMA_SHARED_BUFFER
15	help
16	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
17	  introduced in XFree86 4.0. If you say Y here, you need to select
18	  the module that's right for your graphics card from the list below.
19	  These modules provide support for synchronization, security, and
20	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
21	  details.  You should also select and configure AGP
22	  (/dev/agpgart) support if it is available for your platform.
23
24config DRM_MIPI_DSI
25	bool
26	depends on DRM
27
28config DRM_DP_AUX_CHARDEV
29	bool "DRM DP AUX Interface"
30	depends on DRM
31	help
32	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
33	  read and write values to arbitrary DPCD registers on the DP aux
34	  channel.
35
36config DRM_KMS_HELPER
37	tristate
38	depends on DRM
39	help
40	  CRTC helpers for KMS drivers.
41
42config DRM_KMS_FB_HELPER
43	bool
44	depends on DRM_KMS_HELPER
45	select FB
46	select FRAMEBUFFER_CONSOLE if !EXPERT
47	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
48	select FB_SYS_FOPS
49	select FB_SYS_FILLRECT
50	select FB_SYS_COPYAREA
51	select FB_SYS_IMAGEBLIT
52	select FB_CFB_FILLRECT
53	select FB_CFB_COPYAREA
54	select FB_CFB_IMAGEBLIT
55	select FB_DEFERRED_IO
56	help
57	  FBDEV helpers for KMS drivers.
58
59config DRM_FBDEV_EMULATION
60	bool "Enable legacy fbdev support for your modesetting driver"
61	depends on DRM
62	select DRM_KMS_HELPER
63	select DRM_KMS_FB_HELPER
64	default y
65	help
66	  Choose this option if you have a need for the legacy fbdev
67	  support. Note that this support also provides the linux console
68	  support on top of your modesetting driver.
69
70	  If in doubt, say "Y".
71
72config DRM_LOAD_EDID_FIRMWARE
73	bool "Allow to specify an EDID data set instead of probing for it"
74	depends on DRM_KMS_HELPER
75	help
76	  Say Y here, if you want to use EDID data to be loaded from the
77	  /lib/firmware directory or one of the provided built-in
78	  data sets. This may be necessary, if the graphics adapter or
79	  monitor are unable to provide appropriate EDID data. Since this
80	  feature is provided as a workaround for broken hardware, the
81	  default case is N. Details and instructions how to build your own
82	  EDID data are given in Documentation/EDID/HOWTO.txt.
83
84config DRM_TTM
85	tristate
86	depends on DRM
87	help
88	  GPU memory management subsystem for devices with multiple
89	  GPU memory types. Will be enabled automatically if a device driver
90	  uses it.
91
92config DRM_GEM_CMA_HELPER
93	bool
94	depends on DRM
95	help
96	  Choose this if you need the GEM CMA helper functions
97
98config DRM_KMS_CMA_HELPER
99	bool
100	depends on DRM
101	select DRM_GEM_CMA_HELPER
102	select DRM_KMS_FB_HELPER
103	select FB_SYS_FILLRECT
104	select FB_SYS_COPYAREA
105	select FB_SYS_IMAGEBLIT
106	help
107	  Choose this if you need the KMS CMA helper functions
108
109source "drivers/gpu/drm/i2c/Kconfig"
110
111config DRM_TDFX
112	tristate "3dfx Banshee/Voodoo3+"
113	depends on DRM && PCI
114	help
115	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
116	  graphics card.  If M is selected, the module will be called tdfx.
117
118source "drivers/gpu/drm/arm/Kconfig"
119
120config DRM_R128
121	tristate "ATI Rage 128"
122	depends on DRM && PCI
123	select FW_LOADER
124	help
125	  Choose this option if you have an ATI Rage 128 graphics card.  If M
126	  is selected, the module will be called r128.  AGP support for
127	  this card is strongly suggested (unless you have a PCI version).
128
129config DRM_RADEON
130	tristate "ATI Radeon"
131	depends on DRM && PCI
132	select FB_CFB_FILLRECT
133	select FB_CFB_COPYAREA
134	select FB_CFB_IMAGEBLIT
135	select FW_LOADER
136        select DRM_KMS_HELPER
137	select DRM_KMS_FB_HELPER
138        select DRM_TTM
139	select POWER_SUPPLY
140	select HWMON
141	select BACKLIGHT_CLASS_DEVICE
142	select BACKLIGHT_LCD_SUPPORT
143	select INTERVAL_TREE
144	help
145	  Choose this option if you have an ATI Radeon graphics card.  There
146	  are both PCI and AGP versions.  You don't need to choose this to
147	  run the Radeon in plain VGA mode.
148
149	  If M is selected, the module will be called radeon.
150
151source "drivers/gpu/drm/radeon/Kconfig"
152
153config DRM_AMDGPU
154	tristate "AMD GPU"
155	depends on DRM && PCI
156	select FB_CFB_FILLRECT
157	select FB_CFB_COPYAREA
158	select FB_CFB_IMAGEBLIT
159	select FW_LOADER
160        select DRM_KMS_HELPER
161	select DRM_KMS_FB_HELPER
162        select DRM_TTM
163	select POWER_SUPPLY
164	select HWMON
165	select BACKLIGHT_CLASS_DEVICE
166	select BACKLIGHT_LCD_SUPPORT
167	select INTERVAL_TREE
168	help
169	  Choose this option if you have a recent AMD Radeon graphics card.
170
171	  If M is selected, the module will be called amdgpu.
172
173source "drivers/gpu/drm/amd/amdgpu/Kconfig"
174source "drivers/gpu/drm/amd/powerplay/Kconfig"
175
176source "drivers/gpu/drm/amd/acp/Kconfig"
177
178source "drivers/gpu/drm/nouveau/Kconfig"
179
180config DRM_I810
181	tristate "Intel I810"
182	# !PREEMPT because of missing ioctl locking
183	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
184	help
185	  Choose this option if you have an Intel I810 graphics card.  If M is
186	  selected, the module will be called i810.  AGP support is required
187	  for this driver to work.
188
189source "drivers/gpu/drm/i915/Kconfig"
190
191config DRM_MGA
192	tristate "Matrox g200/g400"
193	depends on DRM && PCI
194	select FW_LOADER
195	help
196	  Choose this option if you have a Matrox G200, G400 or G450 graphics
197	  card.  If M is selected, the module will be called mga.  AGP
198	  support is required for this driver to work.
199
200config DRM_SIS
201	tristate "SiS video cards"
202	depends on DRM && AGP
203	depends on FB_SIS || FB_SIS=n
204	help
205	  Choose this option if you have a SiS 630 or compatible video
206          chipset. If M is selected the module will be called sis. AGP
207          support is required for this driver to work.
208
209config DRM_VIA
210	tristate "Via unichrome video cards"
211	depends on DRM && PCI
212	help
213	  Choose this option if you have a Via unichrome or compatible video
214	  chipset. If M is selected the module will be called via.
215
216config DRM_SAVAGE
217	tristate "Savage video cards"
218	depends on DRM && PCI
219	help
220	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
221	  chipset. If M is selected the module will be called savage.
222
223config DRM_VGEM
224	tristate "Virtual GEM provider"
225	depends on DRM
226	help
227	  Choose this option to get a virtual graphics memory manager,
228	  as used by Mesa's software renderer for enhanced performance.
229	  If M is selected the module will be called vgem.
230
231
232source "drivers/gpu/drm/exynos/Kconfig"
233
234source "drivers/gpu/drm/rockchip/Kconfig"
235
236source "drivers/gpu/drm/vmwgfx/Kconfig"
237
238source "drivers/gpu/drm/gma500/Kconfig"
239
240source "drivers/gpu/drm/udl/Kconfig"
241
242source "drivers/gpu/drm/ast/Kconfig"
243
244source "drivers/gpu/drm/mgag200/Kconfig"
245
246source "drivers/gpu/drm/cirrus/Kconfig"
247
248source "drivers/gpu/drm/armada/Kconfig"
249
250source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
251
252source "drivers/gpu/drm/rcar-du/Kconfig"
253
254source "drivers/gpu/drm/shmobile/Kconfig"
255
256source "drivers/gpu/drm/sun4i/Kconfig"
257
258source "drivers/gpu/drm/omapdrm/Kconfig"
259
260source "drivers/gpu/drm/tilcdc/Kconfig"
261
262source "drivers/gpu/drm/qxl/Kconfig"
263
264source "drivers/gpu/drm/bochs/Kconfig"
265
266source "drivers/gpu/drm/virtio/Kconfig"
267
268source "drivers/gpu/drm/msm/Kconfig"
269
270source "drivers/gpu/drm/fsl-dcu/Kconfig"
271
272source "drivers/gpu/drm/tegra/Kconfig"
273
274source "drivers/gpu/drm/panel/Kconfig"
275
276source "drivers/gpu/drm/bridge/Kconfig"
277
278source "drivers/gpu/drm/sti/Kconfig"
279
280source "drivers/gpu/drm/amd/amdkfd/Kconfig"
281
282source "drivers/gpu/drm/imx/Kconfig"
283
284source "drivers/gpu/drm/vc4/Kconfig"
285
286source "drivers/gpu/drm/etnaviv/Kconfig"
287
288source "drivers/gpu/drm/arc/Kconfig"
289
290source "drivers/gpu/drm/hisilicon/Kconfig"
291
292source "drivers/gpu/drm/mediatek/Kconfig"
293