.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | # |
---|
2 | 3 | # Drm device configuration |
---|
3 | 4 | # |
---|
.. | .. |
---|
8 | 9 | tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" |
---|
9 | 10 | depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA |
---|
10 | 11 | select DRM_PANEL_ORIENTATION_QUIRKS |
---|
11 | | - select HDMI |
---|
| 12 | + select HDMI if !ROCKCHIP_MINI_KERNEL |
---|
12 | 13 | select FB_CMDLINE |
---|
13 | 14 | select I2C |
---|
14 | | - select I2C_ALGOBIT |
---|
| 15 | + select I2C_ALGOBIT if !ROCKCHIP_MINI_KERNEL |
---|
15 | 16 | select DMA_SHARED_BUFFER |
---|
16 | 17 | select SYNC_FILE |
---|
| 18 | +# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate |
---|
| 19 | +# device and dmabuf fd. Let's make sure that is available for our userspace. |
---|
| 20 | + select KCMP |
---|
17 | 21 | help |
---|
18 | 22 | Kernel-level support for the Direct Rendering Infrastructure (DRI) |
---|
19 | 23 | introduced in XFree86 4.0. If you say Y here, you need to select |
---|
.. | .. |
---|
23 | 27 | details. You should also select and configure AGP |
---|
24 | 28 | (/dev/agpgart) support if it is available for your platform. |
---|
25 | 29 | |
---|
26 | | -config DRM_DP |
---|
27 | | - bool "DRM DisplayPort support" |
---|
28 | | - depends on DRM_KMS_HELPER |
---|
29 | | - default y if !ARCH_ROCKCHIP || DRM_ANALOGIX_DP |
---|
30 | | - help |
---|
31 | | - Choose this option to support DP interface. |
---|
| 30 | +config DRM_MIPI_DBI |
---|
| 31 | + tristate |
---|
| 32 | + depends on DRM |
---|
| 33 | + select DRM_KMS_HELPER |
---|
32 | 34 | |
---|
33 | 35 | config DRM_EDID |
---|
34 | 36 | bool "EDID function for DRM" |
---|
35 | 37 | depends on DRM |
---|
36 | | - default y if !CPU_RV1126 |
---|
| 38 | + select HDMI |
---|
| 39 | + default y if !ROCKCHIP_MINI_KERNEL |
---|
37 | 40 | help |
---|
38 | 41 | DRM EDID read and parse function. |
---|
39 | 42 | |
---|
40 | 43 | config DRM_IGNORE_IOTCL_PERMIT |
---|
41 | 44 | bool "Ignore drm ioctl permission" |
---|
42 | | - depends on DRM && ANDROID |
---|
| 45 | + depends on DRM && ANDROID && NO_GKI |
---|
43 | 46 | |
---|
44 | 47 | config DRM_MIPI_DSI |
---|
45 | 48 | bool |
---|
46 | 49 | depends on DRM |
---|
| 50 | + |
---|
| 51 | +config DRM_DP |
---|
| 52 | + bool "DRM DisplayPort support" |
---|
| 53 | + depends on DRM |
---|
| 54 | + depends on DRM_KMS_HELPER |
---|
| 55 | + default y if DRM_ANALOGIX_DP |
---|
| 56 | + default y if !ROCKCHIP_MINI_KERNEL |
---|
| 57 | + help |
---|
| 58 | + Choose this option to support DP interface. |
---|
47 | 59 | |
---|
48 | 60 | config DRM_DP_AUX_CHARDEV |
---|
49 | 61 | bool "DRM DP AUX Interface" |
---|
.. | .. |
---|
74 | 86 | select PRIME_NUMBERS |
---|
75 | 87 | select DRM_LIB_RANDOM |
---|
76 | 88 | select DRM_KMS_HELPER |
---|
| 89 | + select DRM_EXPORT_FOR_TESTS if m |
---|
77 | 90 | default n |
---|
78 | 91 | help |
---|
79 | 92 | This option provides kernel modules that can be used to run |
---|
.. | .. |
---|
105 | 118 | select FB_DEFERRED_IO |
---|
106 | 119 | help |
---|
107 | 120 | FBDEV helpers for KMS drivers. |
---|
| 121 | + |
---|
| 122 | +config DRM_DEBUG_DP_MST_TOPOLOGY_REFS |
---|
| 123 | + bool "Enable refcount backtrace history in the DP MST helpers" |
---|
| 124 | + depends on STACKTRACE_SUPPORT |
---|
| 125 | + select STACKDEPOT |
---|
| 126 | + depends on DRM_KMS_HELPER |
---|
| 127 | + depends on DEBUG_KERNEL |
---|
| 128 | + depends on EXPERT |
---|
| 129 | + help |
---|
| 130 | + Enables debug tracing for topology refs in DRM's DP MST helpers. A |
---|
| 131 | + history of each topology reference/dereference will be printed to the |
---|
| 132 | + kernel log once a port or branch device's topology refcount reaches 0. |
---|
| 133 | + |
---|
| 134 | + This has the potential to use a lot of memory and print some very |
---|
| 135 | + large kernel messages. If in doubt, say "N". |
---|
108 | 136 | |
---|
109 | 137 | config DRM_FBDEV_EMULATION |
---|
110 | 138 | bool "Enable legacy fbdev support for your modesetting driver" |
---|
.. | .. |
---|
158 | 186 | monitor are unable to provide appropriate EDID data. Since this |
---|
159 | 187 | feature is provided as a workaround for broken hardware, the |
---|
160 | 188 | default case is N. Details and instructions how to build your own |
---|
161 | | - EDID data are given in Documentation/EDID/HOWTO.txt. |
---|
| 189 | + EDID data are given in Documentation/admin-guide/edid.rst. |
---|
162 | 190 | |
---|
163 | 191 | config DRM_DP_CEC |
---|
164 | 192 | bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support" |
---|
| 193 | + depends on DRM |
---|
165 | 194 | select CEC_CORE |
---|
166 | 195 | help |
---|
167 | 196 | Choose this option if you want to enable HDMI CEC support for |
---|
.. | .. |
---|
178 | 207 | GPU memory types. Will be enabled automatically if a device driver |
---|
179 | 208 | uses it. |
---|
180 | 209 | |
---|
| 210 | +config DRM_TTM_DMA_PAGE_POOL |
---|
| 211 | + bool |
---|
| 212 | + depends on DRM_TTM && (SWIOTLB || INTEL_IOMMU) |
---|
| 213 | + default y |
---|
| 214 | + help |
---|
| 215 | + Choose this if you need the TTM dma page pool |
---|
| 216 | + |
---|
| 217 | +config DRM_VRAM_HELPER |
---|
| 218 | + tristate |
---|
| 219 | + depends on DRM |
---|
| 220 | + help |
---|
| 221 | + Helpers for VRAM memory management |
---|
| 222 | + |
---|
| 223 | +config DRM_TTM_HELPER |
---|
| 224 | + tristate |
---|
| 225 | + depends on DRM |
---|
| 226 | + select DRM_TTM |
---|
| 227 | + help |
---|
| 228 | + Helpers for ttm-based gem objects |
---|
| 229 | + |
---|
181 | 230 | config DRM_GEM_CMA_HELPER |
---|
182 | 231 | bool |
---|
183 | 232 | depends on DRM |
---|
.. | .. |
---|
188 | 237 | bool |
---|
189 | 238 | depends on DRM |
---|
190 | 239 | select DRM_GEM_CMA_HELPER |
---|
191 | | - select DRM_KMS_FB_HELPER |
---|
192 | | - select FB_SYS_FILLRECT |
---|
193 | | - select FB_SYS_COPYAREA |
---|
194 | | - select FB_SYS_IMAGEBLIT |
---|
195 | 240 | help |
---|
196 | 241 | Choose this if you need the KMS CMA helper functions |
---|
| 242 | + |
---|
| 243 | +config DRM_GEM_SHMEM_HELPER |
---|
| 244 | + bool |
---|
| 245 | + depends on DRM |
---|
| 246 | + help |
---|
| 247 | + Choose this if you need the GEM shmem helper functions |
---|
197 | 248 | |
---|
198 | 249 | config DRM_VM |
---|
199 | 250 | bool |
---|
.. | .. |
---|
217 | 268 | select POWER_SUPPLY |
---|
218 | 269 | select HWMON |
---|
219 | 270 | select BACKLIGHT_CLASS_DEVICE |
---|
220 | | - select BACKLIGHT_LCD_SUPPORT |
---|
221 | 271 | select INTERVAL_TREE |
---|
222 | 272 | help |
---|
223 | 273 | Choose this option if you have an ATI Radeon graphics card. There |
---|
.. | .. |
---|
232 | 282 | tristate "AMD GPU" |
---|
233 | 283 | depends on DRM && PCI && MMU |
---|
234 | 284 | select FW_LOADER |
---|
235 | | - select DRM_KMS_HELPER |
---|
| 285 | + select DRM_KMS_HELPER |
---|
236 | 286 | select DRM_SCHED |
---|
237 | | - select DRM_TTM |
---|
| 287 | + select DRM_TTM |
---|
238 | 288 | select POWER_SUPPLY |
---|
239 | 289 | select HWMON |
---|
240 | 290 | select BACKLIGHT_CLASS_DEVICE |
---|
241 | | - select BACKLIGHT_LCD_SUPPORT |
---|
242 | 291 | select INTERVAL_TREE |
---|
243 | 292 | select CHASH |
---|
244 | 293 | help |
---|
.. | .. |
---|
247 | 296 | If M is selected, the module will be called amdgpu. |
---|
248 | 297 | |
---|
249 | 298 | source "drivers/gpu/drm/amd/amdgpu/Kconfig" |
---|
250 | | - |
---|
251 | | -source "drivers/gpu/drm/amd/lib/Kconfig" |
---|
252 | 299 | |
---|
253 | 300 | source "drivers/gpu/drm/nouveau/Kconfig" |
---|
254 | 301 | |
---|
.. | .. |
---|
266 | 313 | tristate "Virtual KMS (EXPERIMENTAL)" |
---|
267 | 314 | depends on DRM |
---|
268 | 315 | select DRM_KMS_HELPER |
---|
| 316 | + select CRC32 |
---|
269 | 317 | default n |
---|
270 | 318 | help |
---|
271 | 319 | Virtual Kernel Mode-Setting (VKMS) is used for testing or for |
---|
.. | .. |
---|
287 | 335 | source "drivers/gpu/drm/ast/Kconfig" |
---|
288 | 336 | |
---|
289 | 337 | source "drivers/gpu/drm/mgag200/Kconfig" |
---|
290 | | - |
---|
291 | | -source "drivers/gpu/drm/cirrus/Kconfig" |
---|
292 | 338 | |
---|
293 | 339 | source "drivers/gpu/drm/armada/Kconfig" |
---|
294 | 340 | |
---|
.. | .. |
---|
324 | 370 | |
---|
325 | 371 | source "drivers/gpu/drm/sti/Kconfig" |
---|
326 | 372 | |
---|
327 | | -source "drivers/gpu/drm/amd/amdkfd/Kconfig" |
---|
328 | | - |
---|
329 | 373 | source "drivers/gpu/drm/imx/Kconfig" |
---|
| 374 | + |
---|
| 375 | +source "drivers/gpu/drm/ingenic/Kconfig" |
---|
330 | 376 | |
---|
331 | 377 | source "drivers/gpu/drm/v3d/Kconfig" |
---|
332 | 378 | |
---|
.. | .. |
---|
346 | 392 | |
---|
347 | 393 | source "drivers/gpu/drm/meson/Kconfig" |
---|
348 | 394 | |
---|
349 | | -source "drivers/gpu/drm/tinydrm/Kconfig" |
---|
| 395 | +source "drivers/gpu/drm/tiny/Kconfig" |
---|
350 | 396 | |
---|
351 | 397 | source "drivers/gpu/drm/pl111/Kconfig" |
---|
352 | 398 | |
---|
353 | 399 | source "drivers/gpu/drm/tve200/Kconfig" |
---|
354 | 400 | |
---|
355 | 401 | source "drivers/gpu/drm/xen/Kconfig" |
---|
| 402 | + |
---|
| 403 | +source "drivers/gpu/drm/vboxvideo/Kconfig" |
---|
| 404 | + |
---|
| 405 | +source "drivers/gpu/drm/lima/Kconfig" |
---|
| 406 | + |
---|
| 407 | +source "drivers/gpu/drm/panfrost/Kconfig" |
---|
| 408 | + |
---|
| 409 | +source "drivers/gpu/drm/aspeed/Kconfig" |
---|
| 410 | + |
---|
| 411 | +source "drivers/gpu/drm/mcde/Kconfig" |
---|
| 412 | + |
---|
| 413 | +source "drivers/gpu/drm/tidss/Kconfig" |
---|
| 414 | + |
---|
| 415 | +source "drivers/gpu/drm/xlnx/Kconfig" |
---|
356 | 416 | |
---|
357 | 417 | # Keep legacy drivers last |
---|
358 | 418 | |
---|
.. | .. |
---|
392 | 452 | |
---|
393 | 453 | config DRM_I810 |
---|
394 | 454 | tristate "Intel I810" |
---|
395 | | - # !PREEMPT because of missing ioctl locking |
---|
396 | | - depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) |
---|
| 455 | + # !PREEMPTION because of missing ioctl locking |
---|
| 456 | + depends on DRM && AGP && AGP_INTEL && (!PREEMPTION || BROKEN) |
---|
397 | 457 | help |
---|
398 | 458 | Choose this option if you have an Intel I810 graphics card. If M is |
---|
399 | 459 | selected, the module will be called i810. AGP support is required |
---|
.. | .. |
---|
433 | 493 | |
---|
434 | 494 | endif # DRM_LEGACY |
---|
435 | 495 | |
---|
| 496 | +config DRM_EXPORT_FOR_TESTS |
---|
| 497 | + bool |
---|
| 498 | + |
---|
436 | 499 | # Separate option because drm_panel_orientation_quirks.c is shared with fbdev |
---|
437 | 500 | config DRM_PANEL_ORIENTATION_QUIRKS |
---|
438 | 501 | tristate |
---|