Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Drm device configuration |
| 4 | # |
| 5 | # This driver provides support for the |
| 6 | # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. |
| 7 | # |
Randy Dunlap | 179b025 | 2007-10-16 01:29:39 -0700 | [diff] [blame] | 8 | menuconfig DRM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" |
Benjamin Gaignard | 62a0d98 | 2017-01-04 10:12:57 +0100 | [diff] [blame] | 10 | depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA |
Hans de Goede | 8d70f39 | 2017-11-25 20:35:49 +0100 | [diff] [blame] | 11 | select DRM_PANEL_ORIENTATION_QUIRKS |
Thierry Reding | 10a8512 | 2012-11-21 15:31:35 +0100 | [diff] [blame] | 12 | select HDMI |
Chris Wilson | eaf99c7 | 2014-08-06 10:08:32 +0200 | [diff] [blame] | 13 | select FB_CMDLINE |
Dave Airlie | 57a6297 | 2008-12-13 18:21:08 +1000 | [diff] [blame] | 14 | select I2C |
| 15 | select I2C_ALGOBIT |
Dave Airlie | 3248877 | 2011-11-25 15:21:02 +0000 | [diff] [blame] | 16 | select DMA_SHARED_BUFFER |
Gustavo Padovan | 9626014 | 2016-11-15 22:06:39 +0900 | [diff] [blame] | 17 | select SYNC_FILE |
Chris Wilson | 1ea3602 | 2021-02-05 22:00:12 +0000 | [diff] [blame^] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | help |
| 22 | Kernel-level support for the Direct Rendering Infrastructure (DRI) |
| 23 | introduced in XFree86 4.0. If you say Y here, you need to select |
| 24 | the module that's right for your graphics card from the list below. |
| 25 | These modules provide support for synchronization, security, and |
| 26 | DMA transfers. Please see <http://dri.sourceforge.net/> for more |
| 27 | details. You should also select and configure AGP |
Jordan Crouse | dcdb167 | 2010-05-27 13:40:25 -0600 | [diff] [blame] | 28 | (/dev/agpgart) support if it is available for your platform. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
Noralf Trønnes | 174102f | 2019-07-22 12:43:11 +0200 | [diff] [blame] | 30 | config DRM_MIPI_DBI |
| 31 | tristate |
| 32 | depends on DRM |
| 33 | |
Andrzej Hajda | 068a002 | 2013-12-04 16:35:12 +0100 | [diff] [blame] | 34 | config DRM_MIPI_DSI |
| 35 | bool |
| 36 | depends on DRM |
| 37 | |
Rafael Antognolli | e94cb37 | 2016-01-21 15:10:19 -0800 | [diff] [blame] | 38 | config DRM_DP_AUX_CHARDEV |
| 39 | bool "DRM DP AUX Interface" |
| 40 | depends on DRM |
| 41 | help |
| 42 | Choose this option to enable a /dev/drm_dp_auxN node that allows to |
| 43 | read and write values to arbitrary DPCD registers on the DP aux |
| 44 | channel. |
| 45 | |
Chris Wilson | 5705670 | 2016-10-31 09:08:06 +0000 | [diff] [blame] | 46 | config DRM_DEBUG_MM |
| 47 | bool "Insert extra checks and debug info into the DRM range managers" |
| 48 | default n |
Chris Wilson | cd456f8 | 2016-11-08 13:19:17 +0000 | [diff] [blame] | 49 | depends on DRM=y |
Chris Wilson | 4b514e1 | 2016-11-09 14:39:06 +0000 | [diff] [blame] | 50 | depends on STACKTRACE_SUPPORT |
Chris Wilson | 5705670 | 2016-10-31 09:08:06 +0000 | [diff] [blame] | 51 | select STACKDEPOT |
| 52 | help |
| 53 | Enable allocation tracking of memory manager and leak detection on |
| 54 | shutdown. |
| 55 | |
| 56 | Recommended for driver developers only. |
| 57 | |
| 58 | If in doubt, say "N". |
| 59 | |
Maarten Lankhorst | 34b13e5 | 2018-05-03 13:22:16 +0200 | [diff] [blame] | 60 | config DRM_DEBUG_SELFTEST |
| 61 | tristate "kselftests for DRM" |
Chris Wilson | 50f0033 | 2016-12-22 08:36:09 +0000 | [diff] [blame] | 62 | depends on DRM |
| 63 | depends on DEBUG_KERNEL |
| 64 | select PRIME_NUMBERS |
| 65 | select DRM_LIB_RANDOM |
Maarten Lankhorst | 7420e04 | 2018-05-03 13:22:17 +0200 | [diff] [blame] | 66 | select DRM_KMS_HELPER |
Chris Wilson | 6349120 | 2019-11-07 18:05:57 +0000 | [diff] [blame] | 67 | select DRM_EXPORT_FOR_TESTS if m |
Chris Wilson | 50f0033 | 2016-12-22 08:36:09 +0000 | [diff] [blame] | 68 | default n |
| 69 | help |
Maarten Lankhorst | 34b13e5 | 2018-05-03 13:22:16 +0200 | [diff] [blame] | 70 | This option provides kernel modules that can be used to run |
| 71 | various selftests on parts of the DRM api. This option is not |
Chris Wilson | 50f0033 | 2016-12-22 08:36:09 +0000 | [diff] [blame] | 72 | useful for distributions or general kernels, but only for kernel |
| 73 | developers working on DRM and associated drivers. |
| 74 | |
| 75 | If in doubt, say "N". |
| 76 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 77 | config DRM_KMS_HELPER |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 78 | tristate |
| 79 | depends on DRM |
Daniel Vetter | 92b6f89 | 2013-10-08 17:44:47 +0200 | [diff] [blame] | 80 | help |
| 81 | CRTC helpers for KMS drivers. |
| 82 | |
| 83 | config DRM_KMS_FB_HELPER |
| 84 | bool |
| 85 | depends on DRM_KMS_HELPER |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 86 | select FB |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 87 | select FRAMEBUFFER_CONSOLE if !EXPERT |
Dave Airlie | bf5192e | 2011-04-22 07:51:33 +1000 | [diff] [blame] | 88 | select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE |
Archit Taneja | cbb1a82 | 2015-07-31 16:21:41 +0530 | [diff] [blame] | 89 | select FB_SYS_FOPS |
Archit Taneja | 742547b | 2015-07-31 16:21:42 +0530 | [diff] [blame] | 90 | select FB_SYS_FILLRECT |
| 91 | select FB_SYS_COPYAREA |
| 92 | select FB_SYS_IMAGEBLIT |
| 93 | select FB_CFB_FILLRECT |
| 94 | select FB_CFB_COPYAREA |
| 95 | select FB_CFB_IMAGEBLIT |
Noralf Trønnes | eaa434d | 2016-04-28 17:18:33 +0200 | [diff] [blame] | 96 | select FB_DEFERRED_IO |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 97 | help |
Daniel Vetter | 92b6f89 | 2013-10-08 17:44:47 +0200 | [diff] [blame] | 98 | FBDEV helpers for KMS drivers. |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 99 | |
Lyude Paul | 12a280c | 2019-06-20 17:59:25 -0400 | [diff] [blame] | 100 | config DRM_DEBUG_DP_MST_TOPOLOGY_REFS |
| 101 | bool "Enable refcount backtrace history in the DP MST helpers" |
Guenter Roeck | d6d07ca | 2019-12-02 05:36:50 -0800 | [diff] [blame] | 102 | depends on STACKTRACE_SUPPORT |
Lyude Paul | 12a280c | 2019-06-20 17:59:25 -0400 | [diff] [blame] | 103 | select STACKDEPOT |
| 104 | depends on DRM_KMS_HELPER |
| 105 | depends on DEBUG_KERNEL |
| 106 | depends on EXPERT |
| 107 | help |
| 108 | Enables debug tracing for topology refs in DRM's DP MST helpers. A |
| 109 | history of each topology reference/dereference will be printed to the |
| 110 | kernel log once a port or branch device's topology refcount reaches 0. |
| 111 | |
| 112 | This has the potential to use a lot of memory and print some very |
| 113 | large kernel messages. If in doubt, say "N". |
| 114 | |
Archit Taneja | a03fdcb | 2015-08-05 12:28:57 +0530 | [diff] [blame] | 115 | config DRM_FBDEV_EMULATION |
| 116 | bool "Enable legacy fbdev support for your modesetting driver" |
| 117 | depends on DRM |
| 118 | select DRM_KMS_HELPER |
| 119 | select DRM_KMS_FB_HELPER |
| 120 | default y |
| 121 | help |
| 122 | Choose this option if you have a need for the legacy fbdev |
| 123 | support. Note that this support also provides the linux console |
| 124 | support on top of your modesetting driver. |
| 125 | |
| 126 | If in doubt, say "Y". |
| 127 | |
Xinliang Liu | 5f15257 | 2017-02-15 17:19:08 +0100 | [diff] [blame] | 128 | config DRM_FBDEV_OVERALLOC |
| 129 | int "Overallocation of the fbdev buffer" |
| 130 | depends on DRM_FBDEV_EMULATION |
| 131 | default 100 |
| 132 | help |
| 133 | Defines the fbdev buffer overallocation in percent. Default |
| 134 | is 100. Typical values for double buffering will be 200, |
| 135 | triple buffering 300. |
| 136 | |
Neil Armstrong | 4be9bd1 | 2018-09-28 14:05:55 +0200 | [diff] [blame] | 137 | config DRM_FBDEV_LEAK_PHYS_SMEM |
| 138 | bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)" |
| 139 | depends on DRM_FBDEV_EMULATION && EXPERT |
| 140 | default n |
| 141 | help |
| 142 | In order to keep user-space compatibility, we want in certain |
| 143 | use-cases to keep leaking the fbdev physical address to the |
| 144 | user-space program handling the fbdev buffer. |
| 145 | This affects, not only, Amlogic, Allwinner or Rockchip devices |
| 146 | with ARM Mali GPUs using an userspace Blob. |
| 147 | This option is not supported by upstream developers and should be |
| 148 | removed as soon as possible and be considered as a broken and |
| 149 | legacy behaviour from a modern fbdev device driver. |
| 150 | |
| 151 | Please send any bug reports when using this to your proprietary |
| 152 | software vendor that requires this. |
| 153 | |
| 154 | If in doubt, say "N" or spread the word to your closed source |
| 155 | library vendor. |
| 156 | |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 157 | config DRM_LOAD_EDID_FIRMWARE |
| 158 | bool "Allow to specify an EDID data set instead of probing for it" |
Jani Nikula | 53fd40a | 2017-09-12 11:19:26 +0300 | [diff] [blame] | 159 | depends on DRM |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 160 | help |
| 161 | Say Y here, if you want to use EDID data to be loaded from the |
| 162 | /lib/firmware directory or one of the provided built-in |
| 163 | data sets. This may be necessary, if the graphics adapter or |
| 164 | monitor are unable to provide appropriate EDID data. Since this |
| 165 | feature is provided as a workaround for broken hardware, the |
| 166 | default case is N. Details and instructions how to build your own |
Mauro Carvalho Chehab | 72ef5e5 | 2020-04-14 18:48:35 +0200 | [diff] [blame] | 167 | EDID data are given in Documentation/admin-guide/edid.rst. |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 168 | |
Hans Verkuil | 2c6d1ff | 2018-07-11 15:29:07 +0200 | [diff] [blame] | 169 | config DRM_DP_CEC |
| 170 | bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support" |
Hans Verkuil | 539bbf3 | 2019-12-06 12:26:08 +0100 | [diff] [blame] | 171 | depends on DRM |
Hans Verkuil | 2c6d1ff | 2018-07-11 15:29:07 +0200 | [diff] [blame] | 172 | select CEC_CORE |
| 173 | help |
| 174 | Choose this option if you want to enable HDMI CEC support for |
| 175 | DisplayPort/USB-C to HDMI adapters. |
| 176 | |
| 177 | Note: not all adapters support this feature, and even for those |
| 178 | that do support this they often do not hook up the CEC pin. |
| 179 | |
Thomas Hellstrom | ba4e7d9 | 2009-06-10 15:20:19 +0200 | [diff] [blame] | 180 | config DRM_TTM |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 181 | tristate |
Benjamin Gaignard | 62a0d98 | 2017-01-04 10:12:57 +0100 | [diff] [blame] | 182 | depends on DRM && MMU |
Thomas Hellstrom | ba4e7d9 | 2009-06-10 15:20:19 +0200 | [diff] [blame] | 183 | help |
| 184 | GPU memory management subsystem for devices with multiple |
| 185 | GPU memory types. Will be enabled automatically if a device driver |
| 186 | uses it. |
| 187 | |
Thomas Hellstrom | e2e9666 | 2019-11-13 19:02:42 +0100 | [diff] [blame] | 188 | config DRM_TTM_DMA_PAGE_POOL |
| 189 | bool |
| 190 | depends on DRM_TTM && (SWIOTLB || INTEL_IOMMU) |
| 191 | default y |
| 192 | help |
| 193 | Choose this if you need the TTM dma page pool |
| 194 | |
Thomas Zimmermann | 85438a8 | 2019-05-08 10:26:11 +0200 | [diff] [blame] | 195 | config DRM_VRAM_HELPER |
| 196 | tristate |
| 197 | depends on DRM |
Thomas Zimmermann | 85438a8 | 2019-05-08 10:26:11 +0200 | [diff] [blame] | 198 | help |
| 199 | Helpers for VRAM memory management |
| 200 | |
Gerd Hoffmann | ff540b7 | 2019-09-04 07:47:35 +0200 | [diff] [blame] | 201 | config DRM_TTM_HELPER |
| 202 | tristate |
| 203 | depends on DRM |
| 204 | select DRM_TTM |
| 205 | help |
| 206 | Helpers for ttm-based gem objects |
| 207 | |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 208 | config DRM_GEM_CMA_HELPER |
| 209 | bool |
Christoph Hellwig | e1c7e32 | 2016-01-20 15:02:05 -0800 | [diff] [blame] | 210 | depends on DRM |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 211 | help |
| 212 | Choose this if you need the GEM CMA helper functions |
| 213 | |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 214 | config DRM_KMS_CMA_HELPER |
| 215 | bool |
Christoph Hellwig | e1c7e32 | 2016-01-20 15:02:05 -0800 | [diff] [blame] | 216 | depends on DRM |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 217 | select DRM_GEM_CMA_HELPER |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 218 | help |
| 219 | Choose this if you need the KMS CMA helper functions |
| 220 | |
Noralf Trønnes | 2194a63 | 2019-03-12 19:43:44 -0500 | [diff] [blame] | 221 | config DRM_GEM_SHMEM_HELPER |
| 222 | bool |
| 223 | depends on DRM |
| 224 | help |
| 225 | Choose this if you need the GEM shmem helper functions |
| 226 | |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 227 | config DRM_VM |
| 228 | bool |
Benjamin Gaignard | 7e53c28 | 2017-01-12 09:57:36 +0100 | [diff] [blame] | 229 | depends on DRM && MMU |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 230 | |
Lucas Stach | 1b1f42d | 2017-12-06 17:49:39 +0100 | [diff] [blame] | 231 | config DRM_SCHED |
| 232 | tristate |
| 233 | depends on DRM |
| 234 | |
Rob Clark | 6504d0d | 2013-01-24 21:46:07 +0000 | [diff] [blame] | 235 | source "drivers/gpu/drm/i2c/Kconfig" |
| 236 | |
Liviu Dudau | 8e22d79 | 2015-04-02 19:48:39 +0100 | [diff] [blame] | 237 | source "drivers/gpu/drm/arm/Kconfig" |
| 238 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 239 | config DRM_RADEON |
| 240 | tristate "ATI Radeon" |
Benjamin Gaignard | 011cda5 | 2017-01-07 12:39:11 +0100 | [diff] [blame] | 241 | depends on DRM && PCI && MMU |
Ben Hutchings | 70967ab | 2009-08-29 14:53:51 +0100 | [diff] [blame] | 242 | select FW_LOADER |
Dave Airlie | a0cdc64 | 2009-09-08 11:09:50 +1000 | [diff] [blame] | 243 | select DRM_KMS_HELPER |
| 244 | select DRM_TTM |
Dave Airlie | 5d9b7e2 | 2010-05-21 15:41:20 +1000 | [diff] [blame] | 245 | select POWER_SUPPLY |
Alex Deucher | 21a8122 | 2010-07-02 12:58:16 -0400 | [diff] [blame] | 246 | select HWMON |
Christian König | 14adc89 | 2013-01-21 13:58:46 +0100 | [diff] [blame] | 247 | select BACKLIGHT_CLASS_DEVICE |
Alex Deucher | 0aea5e4 | 2014-07-30 11:49:56 -0400 | [diff] [blame] | 248 | select INTERVAL_TREE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 249 | help |
| 250 | Choose this option if you have an ATI Radeon graphics card. There |
| 251 | are both PCI and AGP versions. You don't need to choose this to |
Adrian Bunk | 7b9af34 | 2006-03-20 20:23:13 +0100 | [diff] [blame] | 252 | run the Radeon in plain VGA mode. |
Dave Airlie | bc5f452 | 2007-11-05 12:50:58 +1000 | [diff] [blame] | 253 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 254 | If M is selected, the module will be called radeon. |
| 255 | |
Dave Airlie | f71d018 | 2010-02-01 11:35:47 +1000 | [diff] [blame] | 256 | source "drivers/gpu/drm/radeon/Kconfig" |
| 257 | |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 258 | config DRM_AMDGPU |
| 259 | tristate "AMD GPU" |
Benjamin Gaignard | 011cda5 | 2017-01-07 12:39:11 +0100 | [diff] [blame] | 260 | depends on DRM && PCI && MMU |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 261 | select FW_LOADER |
Krzysztof Kozlowski | 23c61b4 | 2019-10-07 19:33:22 +0200 | [diff] [blame] | 262 | select DRM_KMS_HELPER |
Lucas Stach | 1b1f42d | 2017-12-06 17:49:39 +0100 | [diff] [blame] | 263 | select DRM_SCHED |
Krzysztof Kozlowski | 23c61b4 | 2019-10-07 19:33:22 +0200 | [diff] [blame] | 264 | select DRM_TTM |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 265 | select POWER_SUPPLY |
| 266 | select HWMON |
| 267 | select BACKLIGHT_CLASS_DEVICE |
| 268 | select INTERVAL_TREE |
Felix Kuehling | a2f1482 | 2017-08-26 02:43:06 -0400 | [diff] [blame] | 269 | select CHASH |
Alex Deucher | d38ceaf | 2015-04-20 16:55:21 -0400 | [diff] [blame] | 270 | help |
| 271 | Choose this option if you have a recent AMD Radeon graphics card. |
| 272 | |
| 273 | If M is selected, the module will be called amdgpu. |
| 274 | |
| 275 | source "drivers/gpu/drm/amd/amdgpu/Kconfig" |
Maruthi Bayyavarapu | a8fe58c | 2015-09-22 17:05:20 -0400 | [diff] [blame] | 276 | |
Ben Skeggs | f3c93cb | 2012-03-16 18:19:14 +1000 | [diff] [blame] | 277 | source "drivers/gpu/drm/nouveau/Kconfig" |
| 278 | |
Daniel Vetter | 4520f53 | 2013-10-09 09:18:51 +0200 | [diff] [blame] | 279 | source "drivers/gpu/drm/i915/Kconfig" |
Josh Triplett | 99486b8 | 2013-08-13 16:23:17 -0700 | [diff] [blame] | 280 | |
Zach Reizner | 502e95c | 2015-03-04 16:33:41 -0800 | [diff] [blame] | 281 | config DRM_VGEM |
| 282 | tristate "Virtual GEM provider" |
| 283 | depends on DRM |
| 284 | help |
| 285 | Choose this option to get a virtual graphics memory manager, |
| 286 | as used by Mesa's software renderer for enhanced performance. |
| 287 | If M is selected the module will be called vgem. |
| 288 | |
Haneen Mohammed | 1c7c5fd | 2018-05-14 17:33:46 +0300 | [diff] [blame] | 289 | config DRM_VKMS |
Rodrigo Siqueira | c91b007 | 2018-05-16 20:56:40 -0300 | [diff] [blame] | 290 | tristate "Virtual KMS (EXPERIMENTAL)" |
Haneen Mohammed | 1c7c5fd | 2018-05-14 17:33:46 +0300 | [diff] [blame] | 291 | depends on DRM |
Arnd Bergmann | 5ba57ba | 2018-07-09 17:48:18 +0200 | [diff] [blame] | 292 | select DRM_KMS_HELPER |
zhong jiang | f2a4a13 | 2019-09-23 09:24:43 +0800 | [diff] [blame] | 293 | select CRC32 |
Rodrigo Siqueira | c91b007 | 2018-05-16 20:56:40 -0300 | [diff] [blame] | 294 | default n |
Haneen Mohammed | 1c7c5fd | 2018-05-14 17:33:46 +0300 | [diff] [blame] | 295 | help |
Rodrigo Siqueira | c91b007 | 2018-05-16 20:56:40 -0300 | [diff] [blame] | 296 | Virtual Kernel Mode-Setting (VKMS) is used for testing or for |
| 297 | running GPU in a headless machines. Choose this option to get |
| 298 | a VKMS. |
| 299 | |
Haneen Mohammed | 1c7c5fd | 2018-05-14 17:33:46 +0300 | [diff] [blame] | 300 | If M is selected the module will be called vkms. |
Zach Reizner | 502e95c | 2015-03-04 16:33:41 -0800 | [diff] [blame] | 301 | |
Thomas Hellstrom | 5a7b74b | 2011-10-11 10:42:51 +0200 | [diff] [blame] | 302 | source "drivers/gpu/drm/exynos/Kconfig" |
| 303 | |
Mark Yao | 2048e32 | 2014-08-22 18:36:26 +0800 | [diff] [blame] | 304 | source "drivers/gpu/drm/rockchip/Kconfig" |
| 305 | |
Thomas Hellstrom | 5a7b74b | 2011-10-11 10:42:51 +0200 | [diff] [blame] | 306 | source "drivers/gpu/drm/vmwgfx/Kconfig" |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 307 | |
| 308 | source "drivers/gpu/drm/gma500/Kconfig" |
| 309 | |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 310 | source "drivers/gpu/drm/udl/Kconfig" |
Dave Airlie | 312fec1 | 2012-02-29 13:40:04 +0000 | [diff] [blame] | 311 | |
| 312 | source "drivers/gpu/drm/ast/Kconfig" |
| 313 | |
Dave Airlie | 414c453 | 2012-04-17 15:01:25 +0100 | [diff] [blame] | 314 | source "drivers/gpu/drm/mgag200/Kconfig" |
Dave Airlie | f9aa76a | 2012-04-17 14:12:29 +0100 | [diff] [blame] | 315 | |
Russell King | 96f60e3 | 2012-08-15 13:59:49 +0100 | [diff] [blame] | 316 | source "drivers/gpu/drm/armada/Kconfig" |
| 317 | |
Boris Brezillon | 1a39678 | 2015-01-06 11:13:28 +0100 | [diff] [blame] | 318 | source "drivers/gpu/drm/atmel-hlcdc/Kconfig" |
| 319 | |
Laurent Pinchart | 4bf8e19 | 2013-06-19 13:54:11 +0200 | [diff] [blame] | 320 | source "drivers/gpu/drm/rcar-du/Kconfig" |
| 321 | |
Laurent Pinchart | 51c1327 | 2012-04-26 13:53:59 +0200 | [diff] [blame] | 322 | source "drivers/gpu/drm/shmobile/Kconfig" |
Thierry Reding | d8f4a9e | 2012-11-15 21:28:22 +0000 | [diff] [blame] | 323 | |
Maxime Ripard | 9026e0d | 2015-10-29 09:36:23 +0100 | [diff] [blame] | 324 | source "drivers/gpu/drm/sun4i/Kconfig" |
| 325 | |
Rob Clark | 8bb0daf | 2013-02-11 12:43:09 -0500 | [diff] [blame] | 326 | source "drivers/gpu/drm/omapdrm/Kconfig" |
Dave Airlie | ca18e14 | 2013-02-21 09:31:47 +1000 | [diff] [blame] | 327 | |
Rob Clark | 16ea975 | 2013-01-08 15:04:28 -0600 | [diff] [blame] | 328 | source "drivers/gpu/drm/tilcdc/Kconfig" |
Dave Airlie | f64122c | 2013-02-25 14:47:55 +1000 | [diff] [blame] | 329 | |
| 330 | source "drivers/gpu/drm/qxl/Kconfig" |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 331 | |
Gerd Hoffmann | 0a6659b | 2013-12-17 18:04:46 +0100 | [diff] [blame] | 332 | source "drivers/gpu/drm/bochs/Kconfig" |
| 333 | |
Dave Airlie | dc5698e | 2013-09-09 10:02:56 +1000 | [diff] [blame] | 334 | source "drivers/gpu/drm/virtio/Kconfig" |
| 335 | |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 336 | source "drivers/gpu/drm/msm/Kconfig" |
Thierry Reding | dee8268 | 2013-10-09 10:32:49 +0200 | [diff] [blame] | 337 | |
Jianwei Wang | 109eee2 | 2015-08-19 22:19:49 -0400 | [diff] [blame] | 338 | source "drivers/gpu/drm/fsl-dcu/Kconfig" |
| 339 | |
Thierry Reding | dee8268 | 2013-10-09 10:32:49 +0200 | [diff] [blame] | 340 | source "drivers/gpu/drm/tegra/Kconfig" |
Thierry Reding | aead40e | 2013-08-30 13:36:43 +0200 | [diff] [blame] | 341 | |
Yannick Fertre | b759012 | 2017-04-14 12:13:34 +0200 | [diff] [blame] | 342 | source "drivers/gpu/drm/stm/Kconfig" |
| 343 | |
Thierry Reding | aead40e | 2013-08-30 13:36:43 +0200 | [diff] [blame] | 344 | source "drivers/gpu/drm/panel/Kconfig" |
Benjamin Gaignard | f2cb314 | 2014-07-30 18:20:56 +0200 | [diff] [blame] | 345 | |
Thierry Reding | a33ee95 | 2015-07-21 17:01:19 +0200 | [diff] [blame] | 346 | source "drivers/gpu/drm/bridge/Kconfig" |
| 347 | |
Benjamin Gaignard | f2cb314 | 2014-07-30 18:20:56 +0200 | [diff] [blame] | 348 | source "drivers/gpu/drm/sti/Kconfig" |
Oded Gabbay | 4a488a7 | 2014-07-16 21:08:55 +0300 | [diff] [blame] | 349 | |
Philipp Zabel | 6556f7f | 2014-11-24 16:33:34 +0100 | [diff] [blame] | 350 | source "drivers/gpu/drm/imx/Kconfig" |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 351 | |
Paul Cercueil | 90b86fc | 2019-06-03 17:23:31 +0200 | [diff] [blame] | 352 | source "drivers/gpu/drm/ingenic/Kconfig" |
| 353 | |
Eric Anholt | 57692c9 | 2018-04-30 11:10:58 -0700 | [diff] [blame] | 354 | source "drivers/gpu/drm/v3d/Kconfig" |
| 355 | |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 356 | source "drivers/gpu/drm/vc4/Kconfig" |
The etnaviv authors | a8c21a5 | 2015-12-03 18:21:29 +0100 | [diff] [blame] | 357 | |
| 358 | source "drivers/gpu/drm/etnaviv/Kconfig" |
Carlos Palminha | 51dacf2 | 2016-02-19 15:30:26 +0300 | [diff] [blame] | 359 | |
| 360 | source "drivers/gpu/drm/arc/Kconfig" |
Xinliang Liu | 23e7b2a | 2015-10-09 18:00:56 +0800 | [diff] [blame] | 361 | |
| 362 | source "drivers/gpu/drm/hisilicon/Kconfig" |
CK Hu | 119f517 | 2016-01-04 18:36:34 +0100 | [diff] [blame] | 363 | |
| 364 | source "drivers/gpu/drm/mediatek/Kconfig" |
David Herrmann | d92d9c3a | 2016-08-04 10:06:56 +0200 | [diff] [blame] | 365 | |
Shawn Guo | 0a886f5 | 2016-09-22 19:52:39 +0800 | [diff] [blame] | 366 | source "drivers/gpu/drm/zte/Kconfig" |
| 367 | |
Marek Vasut | 45d59d7 | 2016-08-18 20:23:01 +0200 | [diff] [blame] | 368 | source "drivers/gpu/drm/mxsfb/Kconfig" |
| 369 | |
Neil Armstrong | bbbe775 | 2016-11-10 15:29:37 +0100 | [diff] [blame] | 370 | source "drivers/gpu/drm/meson/Kconfig" |
| 371 | |
Noralf Trønnes | 043386a | 2019-07-25 12:51:31 +0200 | [diff] [blame] | 372 | source "drivers/gpu/drm/tiny/Kconfig" |
Noralf Trønnes | fa201ac | 2017-01-22 00:15:00 +0100 | [diff] [blame] | 373 | |
Tom Cooksey | bed4100 | 2017-04-12 20:17:46 -0700 | [diff] [blame] | 374 | source "drivers/gpu/drm/pl111/Kconfig" |
| 375 | |
Linus Walleij | 179c02f | 2017-08-20 12:05:55 +0200 | [diff] [blame] | 376 | source "drivers/gpu/drm/tve200/Kconfig" |
| 377 | |
Oleksandr Andrushchenko | c575b7e | 2018-04-03 14:23:17 +0300 | [diff] [blame] | 378 | source "drivers/gpu/drm/xen/Kconfig" |
| 379 | |
Hans de Goede | 131abc5 | 2019-03-04 17:47:24 +0100 | [diff] [blame] | 380 | source "drivers/gpu/drm/vboxvideo/Kconfig" |
| 381 | |
Qiang Yu | a1d2a63 | 2019-03-09 20:20:12 +0800 | [diff] [blame] | 382 | source "drivers/gpu/drm/lima/Kconfig" |
| 383 | |
Rob Herring | f3ba912 | 2018-09-10 14:27:58 -0500 | [diff] [blame] | 384 | source "drivers/gpu/drm/panfrost/Kconfig" |
| 385 | |
Joel Stanley | 4f2a8f5 | 2019-04-03 10:49:08 +1030 | [diff] [blame] | 386 | source "drivers/gpu/drm/aspeed/Kconfig" |
| 387 | |
Linus Walleij | 5fc537b | 2019-05-24 11:20:19 +0200 | [diff] [blame] | 388 | source "drivers/gpu/drm/mcde/Kconfig" |
| 389 | |
Jyri Sarha | 32a1795 | 2019-11-08 09:45:28 +0200 | [diff] [blame] | 390 | source "drivers/gpu/drm/tidss/Kconfig" |
| 391 | |
Hyun Kwon | d76271d | 2018-07-07 19:05:34 -0700 | [diff] [blame] | 392 | source "drivers/gpu/drm/xlnx/Kconfig" |
| 393 | |
David Herrmann | d92d9c3a | 2016-08-04 10:06:56 +0200 | [diff] [blame] | 394 | # Keep legacy drivers last |
| 395 | |
| 396 | menuconfig DRM_LEGACY |
| 397 | bool "Enable legacy drivers (DANGEROUS)" |
Benjamin Gaignard | 7e53c28 | 2017-01-12 09:57:36 +0100 | [diff] [blame] | 398 | depends on DRM && MMU |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 399 | select DRM_VM |
David Herrmann | d92d9c3a | 2016-08-04 10:06:56 +0200 | [diff] [blame] | 400 | help |
| 401 | Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous |
| 402 | APIs to user-space, which can be used to circumvent access |
| 403 | restrictions and other security measures. For backwards compatibility |
| 404 | those drivers are still available, but their use is highly |
| 405 | inadvisable and might harm your system. |
| 406 | |
| 407 | You are recommended to use the safe modeset-only drivers instead, and |
| 408 | perform 3D emulation in user-space. |
| 409 | |
| 410 | Unless you have strong reasons to go rogue, say "N". |
| 411 | |
| 412 | if DRM_LEGACY |
| 413 | |
| 414 | config DRM_TDFX |
| 415 | tristate "3dfx Banshee/Voodoo3+" |
| 416 | depends on DRM && PCI |
| 417 | help |
| 418 | Choose this option if you have a 3dfx Banshee or Voodoo3 (or later), |
| 419 | graphics card. If M is selected, the module will be called tdfx. |
| 420 | |
| 421 | config DRM_R128 |
| 422 | tristate "ATI Rage 128" |
| 423 | depends on DRM && PCI |
| 424 | select FW_LOADER |
| 425 | help |
| 426 | Choose this option if you have an ATI Rage 128 graphics card. If M |
| 427 | is selected, the module will be called r128. AGP support for |
| 428 | this card is strongly suggested (unless you have a PCI version). |
| 429 | |
| 430 | config DRM_I810 |
| 431 | tristate "Intel I810" |
Sebastian Andrzej Siewior | f86cf71 | 2019-10-15 21:18:15 +0200 | [diff] [blame] | 432 | # !PREEMPTION because of missing ioctl locking |
Thomas Gleixner | dc25ace | 2019-07-26 22:25:20 +0200 | [diff] [blame] | 433 | depends on DRM && AGP && AGP_INTEL && (!PREEMPTION || BROKEN) |
David Herrmann | d92d9c3a | 2016-08-04 10:06:56 +0200 | [diff] [blame] | 434 | help |
| 435 | Choose this option if you have an Intel I810 graphics card. If M is |
| 436 | selected, the module will be called i810. AGP support is required |
| 437 | for this driver to work. |
| 438 | |
| 439 | config DRM_MGA |
| 440 | tristate "Matrox g200/g400" |
| 441 | depends on DRM && PCI |
| 442 | select FW_LOADER |
| 443 | help |
| 444 | Choose this option if you have a Matrox G200, G400 or G450 graphics |
| 445 | card. If M is selected, the module will be called mga. AGP |
| 446 | support is required for this driver to work. |
| 447 | |
| 448 | config DRM_SIS |
| 449 | tristate "SiS video cards" |
| 450 | depends on DRM && AGP |
| 451 | depends on FB_SIS || FB_SIS=n |
| 452 | help |
| 453 | Choose this option if you have a SiS 630 or compatible video |
| 454 | chipset. If M is selected the module will be called sis. AGP |
| 455 | support is required for this driver to work. |
| 456 | |
| 457 | config DRM_VIA |
| 458 | tristate "Via unichrome video cards" |
| 459 | depends on DRM && PCI |
| 460 | help |
| 461 | Choose this option if you have a Via unichrome or compatible video |
| 462 | chipset. If M is selected the module will be called via. |
| 463 | |
| 464 | config DRM_SAVAGE |
| 465 | tristate "Savage video cards" |
| 466 | depends on DRM && PCI |
| 467 | help |
| 468 | Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister |
| 469 | chipset. If M is selected the module will be called savage. |
| 470 | |
| 471 | endif # DRM_LEGACY |
Chris Wilson | a33d42d | 2016-12-22 08:36:08 +0000 | [diff] [blame] | 472 | |
Randy Dunlap | 9b6c80b | 2020-03-05 17:26:10 -0800 | [diff] [blame] | 473 | config DRM_EXPORT_FOR_TESTS |
| 474 | bool |
| 475 | |
Hans de Goede | 341a0ff | 2018-01-17 09:10:32 +0100 | [diff] [blame] | 476 | # Separate option because drm_panel_orientation_quirks.c is shared with fbdev |
| 477 | config DRM_PANEL_ORIENTATION_QUIRKS |
| 478 | tristate |
| 479 | |
Chris Wilson | a33d42d | 2016-12-22 08:36:08 +0000 | [diff] [blame] | 480 | config DRM_LIB_RANDOM |
| 481 | bool |
| 482 | default n |