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)" |
cc6a36f2 | 9 | depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA |
10a85120 | 10 | select HDMI |
eaf99c74 | 11 | select FB_CMDLINE |
57a6297e DA |
12 | select I2C |
13 | select I2C_ALGOBIT | |
3248877e | 14 | select DMA_SHARED_BUFFER |
1da177e4 LT |
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 | |
dcdb1674 | 22 | (/dev/agpgart) support if it is available for your platform. |
1da177e4 | 23 | |
068a0023 AH |
24 | config DRM_MIPI_DSI |
25 | bool | |
26 | depends on DRM | |
27 | ||
e94cb37b RA |
28 | config 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 | ||
5705670d CW |
36 | config DRM_DEBUG_MM |
37 | bool "Insert extra checks and debug info into the DRM range managers" | |
38 | default n | |
39 | depends on DRM | |
40 | select STACKDEPOT | |
41 | help | |
42 | Enable allocation tracking of memory manager and leak detection on | |
43 | shutdown. | |
44 | ||
45 | Recommended for driver developers only. | |
46 | ||
47 | If in doubt, say "N". | |
48 | ||
6fcefd56 | 49 | config DRM_KMS_HELPER |
13a8195b DA |
50 | tristate |
51 | depends on DRM | |
92b6f89f DV |
52 | help |
53 | CRTC helpers for KMS drivers. | |
54 | ||
55 | config DRM_KMS_FB_HELPER | |
56 | bool | |
57 | depends on DRM_KMS_HELPER | |
13a8195b | 58 | select FB |
6a108a14 | 59 | select FRAMEBUFFER_CONSOLE if !EXPERT |
bf5192ed | 60 | select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE |
cbb1a82e | 61 | select FB_SYS_FOPS |
742547b7 AT |
62 | select FB_SYS_FILLRECT |
63 | select FB_SYS_COPYAREA | |
64 | select FB_SYS_IMAGEBLIT | |
65 | select FB_CFB_FILLRECT | |
66 | select FB_CFB_COPYAREA | |
67 | select FB_CFB_IMAGEBLIT | |
eaa434de | 68 | select FB_DEFERRED_IO |
13a8195b | 69 | help |
92b6f89f | 70 | FBDEV helpers for KMS drivers. |
13a8195b | 71 | |
a03fdcb1 AT |
72 | config DRM_FBDEV_EMULATION |
73 | bool "Enable legacy fbdev support for your modesetting driver" | |
74 | depends on DRM | |
75 | select DRM_KMS_HELPER | |
76 | select DRM_KMS_FB_HELPER | |
77 | default y | |
78 | help | |
79 | Choose this option if you have a need for the legacy fbdev | |
80 | support. Note that this support also provides the linux console | |
81 | support on top of your modesetting driver. | |
82 | ||
83 | If in doubt, say "Y". | |
84 | ||
da0df92b CE |
85 | config DRM_LOAD_EDID_FIRMWARE |
86 | bool "Allow to specify an EDID data set instead of probing for it" | |
87 | depends on DRM_KMS_HELPER | |
88 | help | |
89 | Say Y here, if you want to use EDID data to be loaded from the | |
90 | /lib/firmware directory or one of the provided built-in | |
91 | data sets. This may be necessary, if the graphics adapter or | |
92 | monitor are unable to provide appropriate EDID data. Since this | |
93 | feature is provided as a workaround for broken hardware, the | |
94 | default case is N. Details and instructions how to build your own | |
95 | EDID data are given in Documentation/EDID/HOWTO.txt. | |
96 | ||
ba4e7d97 | 97 | config DRM_TTM |
771fe6b9 | 98 | tristate |
ba4e7d97 TH |
99 | depends on DRM |
100 | help | |
101 | GPU memory management subsystem for devices with multiple | |
102 | GPU memory types. Will be enabled automatically if a device driver | |
103 | uses it. | |
104 | ||
b9d47450 SH |
105 | config DRM_GEM_CMA_HELPER |
106 | bool | |
e1c7e324 | 107 | depends on DRM |
b9d47450 SH |
108 | help |
109 | Choose this if you need the GEM CMA helper functions | |
110 | ||
2e3b3c42 LPC |
111 | config DRM_KMS_CMA_HELPER |
112 | bool | |
e1c7e324 | 113 | depends on DRM |
2e3b3c42 | 114 | select DRM_GEM_CMA_HELPER |
92b6f89f | 115 | select DRM_KMS_FB_HELPER |
2e3b3c42 LPC |
116 | select FB_SYS_FILLRECT |
117 | select FB_SYS_COPYAREA | |
118 | select FB_SYS_IMAGEBLIT | |
119 | help | |
120 | Choose this if you need the KMS CMA helper functions | |
121 | ||
6504d0d9 RC |
122 | source "drivers/gpu/drm/i2c/Kconfig" |
123 | ||
8e22d792 LD |
124 | source "drivers/gpu/drm/arm/Kconfig" |
125 | ||
1da177e4 LT |
126 | config DRM_RADEON |
127 | tristate "ATI Radeon" | |
128 | depends on DRM && PCI | |
70967ab9 | 129 | select FW_LOADER |
a0cdc649 DA |
130 | select DRM_KMS_HELPER |
131 | select DRM_TTM | |
5d9b7e2d | 132 | select POWER_SUPPLY |
21a8122a | 133 | select HWMON |
14adc892 | 134 | select BACKLIGHT_CLASS_DEVICE |
33610527 | 135 | select BACKLIGHT_LCD_SUPPORT |
0aea5e4a | 136 | select INTERVAL_TREE |
1da177e4 LT |
137 | help |
138 | Choose this option if you have an ATI Radeon graphics card. There | |
139 | are both PCI and AGP versions. You don't need to choose this to | |
7b9af345 | 140 | run the Radeon in plain VGA mode. |
bc5f4523 | 141 | |
1da177e4 LT |
142 | If M is selected, the module will be called radeon. |
143 | ||
f71d0187 DA |
144 | source "drivers/gpu/drm/radeon/Kconfig" |
145 | ||
d38ceaf9 AD |
146 | config DRM_AMDGPU |
147 | tristate "AMD GPU" | |
148 | depends on DRM && PCI | |
d38ceaf9 AD |
149 | select FW_LOADER |
150 | select DRM_KMS_HELPER | |
d38ceaf9 AD |
151 | select DRM_TTM |
152 | select POWER_SUPPLY | |
153 | select HWMON | |
154 | select BACKLIGHT_CLASS_DEVICE | |
b325a789 | 155 | select BACKLIGHT_LCD_SUPPORT |
d38ceaf9 AD |
156 | select INTERVAL_TREE |
157 | help | |
158 | Choose this option if you have a recent AMD Radeon graphics card. | |
159 | ||
160 | If M is selected, the module will be called amdgpu. | |
161 | ||
162 | source "drivers/gpu/drm/amd/amdgpu/Kconfig" | |
a8fe58ce | 163 | |
f3c93cbd BS |
164 | source "drivers/gpu/drm/nouveau/Kconfig" |
165 | ||
4520f53a | 166 | source "drivers/gpu/drm/i915/Kconfig" |
99486b8e | 167 | |
502e95c6 ZR |
168 | config DRM_VGEM |
169 | tristate "Virtual GEM provider" | |
170 | depends on DRM | |
171 | help | |
172 | Choose this option to get a virtual graphics memory manager, | |
173 | as used by Mesa's software renderer for enhanced performance. | |
174 | If M is selected the module will be called vgem. | |
175 | ||
176 | ||
5a7b74be TH |
177 | source "drivers/gpu/drm/exynos/Kconfig" |
178 | ||
2048e328 MY |
179 | source "drivers/gpu/drm/rockchip/Kconfig" |
180 | ||
5a7b74be | 181 | source "drivers/gpu/drm/vmwgfx/Kconfig" |
91c75492 AC |
182 | |
183 | source "drivers/gpu/drm/gma500/Kconfig" | |
184 | ||
5320918b | 185 | source "drivers/gpu/drm/udl/Kconfig" |
312fec14 DA |
186 | |
187 | source "drivers/gpu/drm/ast/Kconfig" | |
188 | ||
414c4531 | 189 | source "drivers/gpu/drm/mgag200/Kconfig" |
f9aa76a8 DA |
190 | |
191 | source "drivers/gpu/drm/cirrus/Kconfig" | |
51c13278 | 192 | |
96f60e37 RK |
193 | source "drivers/gpu/drm/armada/Kconfig" |
194 | ||
1a396789 BB |
195 | source "drivers/gpu/drm/atmel-hlcdc/Kconfig" |
196 | ||
4bf8e196 LP |
197 | source "drivers/gpu/drm/rcar-du/Kconfig" |
198 | ||
51c13278 | 199 | source "drivers/gpu/drm/shmobile/Kconfig" |
d8f4a9ed | 200 | |
9026e0d1 MR |
201 | source "drivers/gpu/drm/sun4i/Kconfig" |
202 | ||
8bb0daff | 203 | source "drivers/gpu/drm/omapdrm/Kconfig" |
ca18e142 | 204 | |
16ea975e | 205 | source "drivers/gpu/drm/tilcdc/Kconfig" |
f64122c1 DA |
206 | |
207 | source "drivers/gpu/drm/qxl/Kconfig" | |
c8afe684 | 208 | |
0a6659bd GH |
209 | source "drivers/gpu/drm/bochs/Kconfig" |
210 | ||
dc5698e8 DA |
211 | source "drivers/gpu/drm/virtio/Kconfig" |
212 | ||
c8afe684 | 213 | source "drivers/gpu/drm/msm/Kconfig" |
dee8268f | 214 | |
109eee2f JW |
215 | source "drivers/gpu/drm/fsl-dcu/Kconfig" |
216 | ||
dee8268f | 217 | source "drivers/gpu/drm/tegra/Kconfig" |
aead40ea TR |
218 | |
219 | source "drivers/gpu/drm/panel/Kconfig" | |
f2cb3148 | 220 | |
a33ee95f TR |
221 | source "drivers/gpu/drm/bridge/Kconfig" |
222 | ||
f2cb3148 | 223 | source "drivers/gpu/drm/sti/Kconfig" |
4a488a7a OG |
224 | |
225 | source "drivers/gpu/drm/amd/amdkfd/Kconfig" | |
6556f7f8 PZ |
226 | |
227 | source "drivers/gpu/drm/imx/Kconfig" | |
c8b75bca EA |
228 | |
229 | source "drivers/gpu/drm/vc4/Kconfig" | |
a8c21a54 T |
230 | |
231 | source "drivers/gpu/drm/etnaviv/Kconfig" | |
51dacf20 CP |
232 | |
233 | source "drivers/gpu/drm/arc/Kconfig" | |
23e7b2ab XL |
234 | |
235 | source "drivers/gpu/drm/hisilicon/Kconfig" | |
119f5173 CH |
236 | |
237 | source "drivers/gpu/drm/mediatek/Kconfig" | |
d92d9c3a DH |
238 | |
239 | # Keep legacy drivers last | |
240 | ||
241 | menuconfig DRM_LEGACY | |
242 | bool "Enable legacy drivers (DANGEROUS)" | |
243 | depends on DRM | |
244 | help | |
245 | Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous | |
246 | APIs to user-space, which can be used to circumvent access | |
247 | restrictions and other security measures. For backwards compatibility | |
248 | those drivers are still available, but their use is highly | |
249 | inadvisable and might harm your system. | |
250 | ||
251 | You are recommended to use the safe modeset-only drivers instead, and | |
252 | perform 3D emulation in user-space. | |
253 | ||
254 | Unless you have strong reasons to go rogue, say "N". | |
255 | ||
256 | if DRM_LEGACY | |
257 | ||
258 | config DRM_TDFX | |
259 | tristate "3dfx Banshee/Voodoo3+" | |
260 | depends on DRM && PCI | |
261 | help | |
262 | Choose this option if you have a 3dfx Banshee or Voodoo3 (or later), | |
263 | graphics card. If M is selected, the module will be called tdfx. | |
264 | ||
265 | config DRM_R128 | |
266 | tristate "ATI Rage 128" | |
267 | depends on DRM && PCI | |
268 | select FW_LOADER | |
269 | help | |
270 | Choose this option if you have an ATI Rage 128 graphics card. If M | |
271 | is selected, the module will be called r128. AGP support for | |
272 | this card is strongly suggested (unless you have a PCI version). | |
273 | ||
274 | config DRM_I810 | |
275 | tristate "Intel I810" | |
276 | # !PREEMPT because of missing ioctl locking | |
277 | depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) | |
278 | help | |
279 | Choose this option if you have an Intel I810 graphics card. If M is | |
280 | selected, the module will be called i810. AGP support is required | |
281 | for this driver to work. | |
282 | ||
283 | config DRM_MGA | |
284 | tristate "Matrox g200/g400" | |
285 | depends on DRM && PCI | |
286 | select FW_LOADER | |
287 | help | |
288 | Choose this option if you have a Matrox G200, G400 or G450 graphics | |
289 | card. If M is selected, the module will be called mga. AGP | |
290 | support is required for this driver to work. | |
291 | ||
292 | config DRM_SIS | |
293 | tristate "SiS video cards" | |
294 | depends on DRM && AGP | |
295 | depends on FB_SIS || FB_SIS=n | |
296 | help | |
297 | Choose this option if you have a SiS 630 or compatible video | |
298 | chipset. If M is selected the module will be called sis. AGP | |
299 | support is required for this driver to work. | |
300 | ||
301 | config DRM_VIA | |
302 | tristate "Via unichrome video cards" | |
303 | depends on DRM && PCI | |
304 | help | |
305 | Choose this option if you have a Via unichrome or compatible video | |
306 | chipset. If M is selected the module will be called via. | |
307 | ||
308 | config DRM_SAVAGE | |
309 | tristate "Savage video cards" | |
310 | depends on DRM && PCI | |
311 | help | |
312 | Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister | |
313 | chipset. If M is selected the module will be called savage. | |
314 | ||
315 | endif # DRM_LEGACY |