]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | # | |
179b025f | 7 | menuconfig DRM |
1da177e4 | 8 | tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" |
62a0d98a | 9 | depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA |
8d70f395 | 10 | select DRM_PANEL_ORIENTATION_QUIRKS |
10a85120 | 11 | select HDMI |
eaf99c74 | 12 | select FB_CMDLINE |
57a6297e DA |
13 | select I2C |
14 | select I2C_ALGOBIT | |
3248877e | 15 | select DMA_SHARED_BUFFER |
96260142 | 16 | select SYNC_FILE |
1da177e4 LT |
17 | help |
18 | Kernel-level support for the Direct Rendering Infrastructure (DRI) | |
19 | introduced in XFree86 4.0. If you say Y here, you need to select | |
20 | the module that's right for your graphics card from the list below. | |
21 | These modules provide support for synchronization, security, and | |
22 | DMA transfers. Please see <http://dri.sourceforge.net/> for more | |
23 | details. You should also select and configure AGP | |
dcdb1674 | 24 | (/dev/agpgart) support if it is available for your platform. |
1da177e4 | 25 | |
068a0023 AH |
26 | config DRM_MIPI_DSI |
27 | bool | |
28 | depends on DRM | |
29 | ||
e94cb37b RA |
30 | config DRM_DP_AUX_CHARDEV |
31 | bool "DRM DP AUX Interface" | |
32 | depends on DRM | |
33 | help | |
34 | Choose this option to enable a /dev/drm_dp_auxN node that allows to | |
35 | read and write values to arbitrary DPCD registers on the DP aux | |
36 | channel. | |
37 | ||
5705670d CW |
38 | config DRM_DEBUG_MM |
39 | bool "Insert extra checks and debug info into the DRM range managers" | |
40 | default n | |
cd456f8d | 41 | depends on DRM=y |
4b514e10 | 42 | depends on STACKTRACE_SUPPORT |
5705670d CW |
43 | select STACKDEPOT |
44 | help | |
45 | Enable allocation tracking of memory manager and leak detection on | |
46 | shutdown. | |
47 | ||
48 | Recommended for driver developers only. | |
49 | ||
50 | If in doubt, say "N". | |
51 | ||
34b13e5e ML |
52 | config DRM_DEBUG_SELFTEST |
53 | tristate "kselftests for DRM" | |
50f0033d CW |
54 | depends on DRM |
55 | depends on DEBUG_KERNEL | |
56 | select PRIME_NUMBERS | |
57 | select DRM_LIB_RANDOM | |
7420e049 | 58 | select DRM_KMS_HELPER |
50f0033d CW |
59 | default n |
60 | help | |
34b13e5e ML |
61 | This option provides kernel modules that can be used to run |
62 | various selftests on parts of the DRM api. This option is not | |
50f0033d CW |
63 | useful for distributions or general kernels, but only for kernel |
64 | developers working on DRM and associated drivers. | |
65 | ||
66 | If in doubt, say "N". | |
67 | ||
6fcefd56 | 68 | config DRM_KMS_HELPER |
13a8195b DA |
69 | tristate |
70 | depends on DRM | |
92b6f89f DV |
71 | help |
72 | CRTC helpers for KMS drivers. | |
73 | ||
74 | config DRM_KMS_FB_HELPER | |
75 | bool | |
76 | depends on DRM_KMS_HELPER | |
13a8195b | 77 | select FB |
6a108a14 | 78 | select FRAMEBUFFER_CONSOLE if !EXPERT |
bf5192ed | 79 | select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE |
cbb1a82e | 80 | select FB_SYS_FOPS |
742547b7 AT |
81 | select FB_SYS_FILLRECT |
82 | select FB_SYS_COPYAREA | |
83 | select FB_SYS_IMAGEBLIT | |
84 | select FB_CFB_FILLRECT | |
85 | select FB_CFB_COPYAREA | |
86 | select FB_CFB_IMAGEBLIT | |
eaa434de | 87 | select FB_DEFERRED_IO |
13a8195b | 88 | help |
92b6f89f | 89 | FBDEV helpers for KMS drivers. |
13a8195b | 90 | |
a03fdcb1 AT |
91 | config DRM_FBDEV_EMULATION |
92 | bool "Enable legacy fbdev support for your modesetting driver" | |
93 | depends on DRM | |
94 | select DRM_KMS_HELPER | |
95 | select DRM_KMS_FB_HELPER | |
96 | default y | |
97 | help | |
98 | Choose this option if you have a need for the legacy fbdev | |
99 | support. Note that this support also provides the linux console | |
100 | support on top of your modesetting driver. | |
101 | ||
102 | If in doubt, say "Y". | |
103 | ||
5f152576 XL |
104 | config DRM_FBDEV_OVERALLOC |
105 | int "Overallocation of the fbdev buffer" | |
106 | depends on DRM_FBDEV_EMULATION | |
107 | default 100 | |
108 | help | |
109 | Defines the fbdev buffer overallocation in percent. Default | |
110 | is 100. Typical values for double buffering will be 200, | |
111 | triple buffering 300. | |
112 | ||
da0df92b CE |
113 | config DRM_LOAD_EDID_FIRMWARE |
114 | bool "Allow to specify an EDID data set instead of probing for it" | |
53fd40a9 | 115 | depends on DRM |
da0df92b CE |
116 | help |
117 | Say Y here, if you want to use EDID data to be loaded from the | |
118 | /lib/firmware directory or one of the provided built-in | |
119 | data sets. This may be necessary, if the graphics adapter or | |
120 | monitor are unable to provide appropriate EDID data. Since this | |
121 | feature is provided as a workaround for broken hardware, the | |
122 | default case is N. Details and instructions how to build your own | |
123 | EDID data are given in Documentation/EDID/HOWTO.txt. | |
124 | ||
ba4e7d97 | 125 | config DRM_TTM |
771fe6b9 | 126 | tristate |
62a0d98a | 127 | depends on DRM && MMU |
ba4e7d97 TH |
128 | help |
129 | GPU memory management subsystem for devices with multiple | |
130 | GPU memory types. Will be enabled automatically if a device driver | |
131 | uses it. | |
132 | ||
b9d47450 SH |
133 | config DRM_GEM_CMA_HELPER |
134 | bool | |
e1c7e324 | 135 | depends on DRM |
b9d47450 SH |
136 | help |
137 | Choose this if you need the GEM CMA helper functions | |
138 | ||
2e3b3c42 LPC |
139 | config DRM_KMS_CMA_HELPER |
140 | bool | |
e1c7e324 | 141 | depends on DRM |
2e3b3c42 | 142 | select DRM_GEM_CMA_HELPER |
92b6f89f | 143 | select DRM_KMS_FB_HELPER |
2e3b3c42 LPC |
144 | select FB_SYS_FILLRECT |
145 | select FB_SYS_COPYAREA | |
146 | select FB_SYS_IMAGEBLIT | |
147 | help | |
148 | Choose this if you need the KMS CMA helper functions | |
149 | ||
99c48e1e BG |
150 | config DRM_VM |
151 | bool | |
7e53c284 | 152 | depends on DRM && MMU |
99c48e1e | 153 | |
1b1f42d8 LS |
154 | config DRM_SCHED |
155 | tristate | |
156 | depends on DRM | |
157 | ||
6504d0d9 RC |
158 | source "drivers/gpu/drm/i2c/Kconfig" |
159 | ||
8e22d792 LD |
160 | source "drivers/gpu/drm/arm/Kconfig" |
161 | ||
1da177e4 LT |
162 | config DRM_RADEON |
163 | tristate "ATI Radeon" | |
011cda58 | 164 | depends on DRM && PCI && MMU |
70967ab9 | 165 | select FW_LOADER |
a0cdc649 DA |
166 | select DRM_KMS_HELPER |
167 | select DRM_TTM | |
5d9b7e2d | 168 | select POWER_SUPPLY |
21a8122a | 169 | select HWMON |
14adc892 | 170 | select BACKLIGHT_CLASS_DEVICE |
33610527 | 171 | select BACKLIGHT_LCD_SUPPORT |
0aea5e4a | 172 | select INTERVAL_TREE |
1da177e4 LT |
173 | help |
174 | Choose this option if you have an ATI Radeon graphics card. There | |
175 | are both PCI and AGP versions. You don't need to choose this to | |
7b9af345 | 176 | run the Radeon in plain VGA mode. |
bc5f4523 | 177 | |
1da177e4 LT |
178 | If M is selected, the module will be called radeon. |
179 | ||
f71d0187 DA |
180 | source "drivers/gpu/drm/radeon/Kconfig" |
181 | ||
d38ceaf9 AD |
182 | config DRM_AMDGPU |
183 | tristate "AMD GPU" | |
011cda58 | 184 | depends on DRM && PCI && MMU |
d38ceaf9 AD |
185 | select FW_LOADER |
186 | select DRM_KMS_HELPER | |
1b1f42d8 | 187 | select DRM_SCHED |
d38ceaf9 AD |
188 | select DRM_TTM |
189 | select POWER_SUPPLY | |
190 | select HWMON | |
191 | select BACKLIGHT_CLASS_DEVICE | |
b325a789 | 192 | select BACKLIGHT_LCD_SUPPORT |
d38ceaf9 | 193 | select INTERVAL_TREE |
a2f14820 | 194 | select CHASH |
d38ceaf9 AD |
195 | help |
196 | Choose this option if you have a recent AMD Radeon graphics card. | |
197 | ||
198 | If M is selected, the module will be called amdgpu. | |
199 | ||
200 | source "drivers/gpu/drm/amd/amdgpu/Kconfig" | |
a8fe58ce | 201 | |
5d86b2c3 FK |
202 | source "drivers/gpu/drm/amd/lib/Kconfig" |
203 | ||
f3c93cbd BS |
204 | source "drivers/gpu/drm/nouveau/Kconfig" |
205 | ||
4520f53a | 206 | source "drivers/gpu/drm/i915/Kconfig" |
99486b8e | 207 | |
502e95c6 ZR |
208 | config DRM_VGEM |
209 | tristate "Virtual GEM provider" | |
210 | depends on DRM | |
211 | help | |
212 | Choose this option to get a virtual graphics memory manager, | |
213 | as used by Mesa's software renderer for enhanced performance. | |
214 | If M is selected the module will be called vgem. | |
215 | ||
1c7c5fd9 | 216 | config DRM_VKMS |
c91b007e | 217 | tristate "Virtual KMS (EXPERIMENTAL)" |
1c7c5fd9 | 218 | depends on DRM |
5ba57bab | 219 | select DRM_KMS_HELPER |
c91b007e | 220 | default n |
1c7c5fd9 | 221 | help |
c91b007e RS |
222 | Virtual Kernel Mode-Setting (VKMS) is used for testing or for |
223 | running GPU in a headless machines. Choose this option to get | |
224 | a VKMS. | |
225 | ||
1c7c5fd9 | 226 | If M is selected the module will be called vkms. |
502e95c6 | 227 | |
5a7b74be TH |
228 | source "drivers/gpu/drm/exynos/Kconfig" |
229 | ||
2048e328 MY |
230 | source "drivers/gpu/drm/rockchip/Kconfig" |
231 | ||
5a7b74be | 232 | source "drivers/gpu/drm/vmwgfx/Kconfig" |
91c75492 AC |
233 | |
234 | source "drivers/gpu/drm/gma500/Kconfig" | |
235 | ||
5320918b | 236 | source "drivers/gpu/drm/udl/Kconfig" |
312fec14 DA |
237 | |
238 | source "drivers/gpu/drm/ast/Kconfig" | |
239 | ||
414c4531 | 240 | source "drivers/gpu/drm/mgag200/Kconfig" |
f9aa76a8 DA |
241 | |
242 | source "drivers/gpu/drm/cirrus/Kconfig" | |
51c13278 | 243 | |
96f60e37 RK |
244 | source "drivers/gpu/drm/armada/Kconfig" |
245 | ||
1a396789 BB |
246 | source "drivers/gpu/drm/atmel-hlcdc/Kconfig" |
247 | ||
4bf8e196 LP |
248 | source "drivers/gpu/drm/rcar-du/Kconfig" |
249 | ||
51c13278 | 250 | source "drivers/gpu/drm/shmobile/Kconfig" |
d8f4a9ed | 251 | |
9026e0d1 MR |
252 | source "drivers/gpu/drm/sun4i/Kconfig" |
253 | ||
8bb0daff | 254 | source "drivers/gpu/drm/omapdrm/Kconfig" |
ca18e142 | 255 | |
16ea975e | 256 | source "drivers/gpu/drm/tilcdc/Kconfig" |
f64122c1 DA |
257 | |
258 | source "drivers/gpu/drm/qxl/Kconfig" | |
c8afe684 | 259 | |
0a6659bd GH |
260 | source "drivers/gpu/drm/bochs/Kconfig" |
261 | ||
dc5698e8 DA |
262 | source "drivers/gpu/drm/virtio/Kconfig" |
263 | ||
c8afe684 | 264 | source "drivers/gpu/drm/msm/Kconfig" |
dee8268f | 265 | |
109eee2f JW |
266 | source "drivers/gpu/drm/fsl-dcu/Kconfig" |
267 | ||
dee8268f | 268 | source "drivers/gpu/drm/tegra/Kconfig" |
aead40ea | 269 | |
b759012c YF |
270 | source "drivers/gpu/drm/stm/Kconfig" |
271 | ||
aead40ea | 272 | source "drivers/gpu/drm/panel/Kconfig" |
f2cb3148 | 273 | |
a33ee95f TR |
274 | source "drivers/gpu/drm/bridge/Kconfig" |
275 | ||
f2cb3148 | 276 | source "drivers/gpu/drm/sti/Kconfig" |
4a488a7a OG |
277 | |
278 | source "drivers/gpu/drm/amd/amdkfd/Kconfig" | |
6556f7f8 PZ |
279 | |
280 | source "drivers/gpu/drm/imx/Kconfig" | |
c8b75bca | 281 | |
57692c94 EA |
282 | source "drivers/gpu/drm/v3d/Kconfig" |
283 | ||
c8b75bca | 284 | source "drivers/gpu/drm/vc4/Kconfig" |
a8c21a54 T |
285 | |
286 | source "drivers/gpu/drm/etnaviv/Kconfig" | |
51dacf20 CP |
287 | |
288 | source "drivers/gpu/drm/arc/Kconfig" | |
23e7b2ab XL |
289 | |
290 | source "drivers/gpu/drm/hisilicon/Kconfig" | |
119f5173 CH |
291 | |
292 | source "drivers/gpu/drm/mediatek/Kconfig" | |
d92d9c3a | 293 | |
0a886f59 SG |
294 | source "drivers/gpu/drm/zte/Kconfig" |
295 | ||
45d59d70 MV |
296 | source "drivers/gpu/drm/mxsfb/Kconfig" |
297 | ||
bbbe775e NA |
298 | source "drivers/gpu/drm/meson/Kconfig" |
299 | ||
fa201ac2 NT |
300 | source "drivers/gpu/drm/tinydrm/Kconfig" |
301 | ||
bed41005 TC |
302 | source "drivers/gpu/drm/pl111/Kconfig" |
303 | ||
179c02fe LW |
304 | source "drivers/gpu/drm/tve200/Kconfig" |
305 | ||
c575b7ee OA |
306 | source "drivers/gpu/drm/xen/Kconfig" |
307 | ||
d92d9c3a DH |
308 | # Keep legacy drivers last |
309 | ||
310 | menuconfig DRM_LEGACY | |
311 | bool "Enable legacy drivers (DANGEROUS)" | |
7e53c284 | 312 | depends on DRM && MMU |
99c48e1e | 313 | select DRM_VM |
d92d9c3a DH |
314 | help |
315 | Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous | |
316 | APIs to user-space, which can be used to circumvent access | |
317 | restrictions and other security measures. For backwards compatibility | |
318 | those drivers are still available, but their use is highly | |
319 | inadvisable and might harm your system. | |
320 | ||
321 | You are recommended to use the safe modeset-only drivers instead, and | |
322 | perform 3D emulation in user-space. | |
323 | ||
324 | Unless you have strong reasons to go rogue, say "N". | |
325 | ||
326 | if DRM_LEGACY | |
327 | ||
328 | config DRM_TDFX | |
329 | tristate "3dfx Banshee/Voodoo3+" | |
330 | depends on DRM && PCI | |
331 | help | |
332 | Choose this option if you have a 3dfx Banshee or Voodoo3 (or later), | |
333 | graphics card. If M is selected, the module will be called tdfx. | |
334 | ||
335 | config DRM_R128 | |
336 | tristate "ATI Rage 128" | |
337 | depends on DRM && PCI | |
338 | select FW_LOADER | |
339 | help | |
340 | Choose this option if you have an ATI Rage 128 graphics card. If M | |
341 | is selected, the module will be called r128. AGP support for | |
342 | this card is strongly suggested (unless you have a PCI version). | |
343 | ||
344 | config DRM_I810 | |
345 | tristate "Intel I810" | |
346 | # !PREEMPT because of missing ioctl locking | |
347 | depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) | |
348 | help | |
349 | Choose this option if you have an Intel I810 graphics card. If M is | |
350 | selected, the module will be called i810. AGP support is required | |
351 | for this driver to work. | |
352 | ||
353 | config DRM_MGA | |
354 | tristate "Matrox g200/g400" | |
355 | depends on DRM && PCI | |
356 | select FW_LOADER | |
357 | help | |
358 | Choose this option if you have a Matrox G200, G400 or G450 graphics | |
359 | card. If M is selected, the module will be called mga. AGP | |
360 | support is required for this driver to work. | |
361 | ||
362 | config DRM_SIS | |
363 | tristate "SiS video cards" | |
364 | depends on DRM && AGP | |
365 | depends on FB_SIS || FB_SIS=n | |
366 | help | |
367 | Choose this option if you have a SiS 630 or compatible video | |
368 | chipset. If M is selected the module will be called sis. AGP | |
369 | support is required for this driver to work. | |
370 | ||
371 | config DRM_VIA | |
372 | tristate "Via unichrome video cards" | |
373 | depends on DRM && PCI | |
374 | help | |
375 | Choose this option if you have a Via unichrome or compatible video | |
376 | chipset. If M is selected the module will be called via. | |
377 | ||
378 | config DRM_SAVAGE | |
379 | tristate "Savage video cards" | |
380 | depends on DRM && PCI | |
381 | help | |
382 | Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister | |
383 | chipset. If M is selected the module will be called savage. | |
384 | ||
385 | endif # DRM_LEGACY | |
a33d42dd | 386 | |
341a0ffc HG |
387 | # Separate option because drm_panel_orientation_quirks.c is shared with fbdev |
388 | config DRM_PANEL_ORIENTATION_QUIRKS | |
389 | tristate | |
390 | ||
a33d42dd CW |
391 | config DRM_LIB_RANDOM |
392 | bool | |
393 | default n |