xref: /linux/drivers/gpu/drm/Kconfig (revision aeb33699fc2c97994de0e9acb74d0fd319380614)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2c0e09200SDave Airlie#
3c0e09200SDave Airlie# Drm device configuration
4c0e09200SDave Airlie#
5c0e09200SDave Airlie# This driver provides support for the
6c0e09200SDave Airlie# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
7c0e09200SDave Airlie#
8c0e09200SDave Airliemenuconfig DRM
9c0e09200SDave Airlie	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
1062a0d98aSBenjamin Gaignard	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
118d70f395SHans de Goede	select DRM_PANEL_ORIENTATION_QUIRKS
1210a85120SThierry Reding	select HDMI
13eaf99c74SChris Wilson	select FB_CMDLINE
1457a6297eSDave Airlie	select I2C
1557a6297eSDave Airlie	select I2C_ALGOBIT
163248877eSDave Airlie	select DMA_SHARED_BUFFER
1796260142SGustavo Padovan	select SYNC_FILE
18bfe3911aSChris Wilson# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
19bfe3911aSChris Wilson# device and dmabuf fd. Let's make sure that is available for our userspace.
20bfe3911aSChris Wilson	select KCMP
21c0e09200SDave Airlie	help
22c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
23c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
24c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
25c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
26c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
27c0e09200SDave Airlie	  details.  You should also select and configure AGP
28dcdb1674SJordan Crouse	  (/dev/agpgart) support if it is available for your platform.
29c0e09200SDave Airlie
30174102f4SNoralf Trønnesconfig DRM_MIPI_DBI
31174102f4SNoralf Trønnes	tristate
32174102f4SNoralf Trønnes	depends on DRM
33174102f4SNoralf Trønnes
34068a0023SAndrzej Hajdaconfig DRM_MIPI_DSI
35068a0023SAndrzej Hajda	bool
36068a0023SAndrzej Hajda	depends on DRM
37068a0023SAndrzej Hajda
38*aeb33699SDouglas Andersonconfig DRM_DP_AUX_BUS
39*aeb33699SDouglas Anderson	tristate
40*aeb33699SDouglas Anderson	depends on DRM
41*aeb33699SDouglas Anderson	depends on OF
42*aeb33699SDouglas Anderson
43e94cb37bSRafael Antognolliconfig DRM_DP_AUX_CHARDEV
44e94cb37bSRafael Antognolli	bool "DRM DP AUX Interface"
45e94cb37bSRafael Antognolli	depends on DRM
46e94cb37bSRafael Antognolli	help
47e94cb37bSRafael Antognolli	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
48e94cb37bSRafael Antognolli	  read and write values to arbitrary DPCD registers on the DP aux
49e94cb37bSRafael Antognolli	  channel.
50e94cb37bSRafael Antognolli
515705670dSChris Wilsonconfig DRM_DEBUG_MM
525705670dSChris Wilson	bool "Insert extra checks and debug info into the DRM range managers"
535705670dSChris Wilson	default n
54cd456f8dSChris Wilson	depends on DRM=y
554b514e10SChris Wilson	depends on STACKTRACE_SUPPORT
565705670dSChris Wilson	select STACKDEPOT
575705670dSChris Wilson	help
585705670dSChris Wilson	  Enable allocation tracking of memory manager and leak detection on
595705670dSChris Wilson	  shutdown.
605705670dSChris Wilson
615705670dSChris Wilson	  Recommended for driver developers only.
625705670dSChris Wilson
635705670dSChris Wilson	  If in doubt, say "N".
645705670dSChris Wilson
6534b13e5eSMaarten Lankhorstconfig DRM_DEBUG_SELFTEST
6634b13e5eSMaarten Lankhorst	tristate "kselftests for DRM"
6750f0033dSChris Wilson	depends on DRM
6850f0033dSChris Wilson	depends on DEBUG_KERNEL
6950f0033dSChris Wilson	select PRIME_NUMBERS
7050f0033dSChris Wilson	select DRM_LIB_RANDOM
717420e049SMaarten Lankhorst	select DRM_KMS_HELPER
726349120dSChris Wilson	select DRM_EXPORT_FOR_TESTS if m
7350f0033dSChris Wilson	default n
7450f0033dSChris Wilson	help
7534b13e5eSMaarten Lankhorst	  This option provides kernel modules that can be used to run
7634b13e5eSMaarten Lankhorst	  various selftests on parts of the DRM api. This option is not
7750f0033dSChris Wilson	  useful for distributions or general kernels, but only for kernel
7850f0033dSChris Wilson	  developers working on DRM and associated drivers.
7950f0033dSChris Wilson
8050f0033dSChris Wilson	  If in doubt, say "N".
8150f0033dSChris Wilson
826fcefd56SDave Airlieconfig DRM_KMS_HELPER
8313a8195bSDave Airlie	tristate
8413a8195bSDave Airlie	depends on DRM
8592b6f89fSDaniel Vetter	help
8692b6f89fSDaniel Vetter	  CRTC helpers for KMS drivers.
8792b6f89fSDaniel Vetter
8812a280c7SLyude Paulconfig DRM_DEBUG_DP_MST_TOPOLOGY_REFS
8912a280c7SLyude Paul        bool "Enable refcount backtrace history in the DP MST helpers"
90d6d07ca1SGuenter Roeck	depends on STACKTRACE_SUPPORT
9112a280c7SLyude Paul        select STACKDEPOT
9212a280c7SLyude Paul        depends on DRM_KMS_HELPER
9312a280c7SLyude Paul        depends on DEBUG_KERNEL
9412a280c7SLyude Paul        depends on EXPERT
9512a280c7SLyude Paul        help
9612a280c7SLyude Paul          Enables debug tracing for topology refs in DRM's DP MST helpers. A
9712a280c7SLyude Paul          history of each topology reference/dereference will be printed to the
9812a280c7SLyude Paul          kernel log once a port or branch device's topology refcount reaches 0.
9912a280c7SLyude Paul
10012a280c7SLyude Paul          This has the potential to use a lot of memory and print some very
10112a280c7SLyude Paul          large kernel messages. If in doubt, say "N".
10212a280c7SLyude Paul
103a03fdcb1SArchit Tanejaconfig DRM_FBDEV_EMULATION
104a03fdcb1SArchit Taneja	bool "Enable legacy fbdev support for your modesetting driver"
105a03fdcb1SArchit Taneja	depends on DRM
106f611b1e7SKees Cook	depends on FB
107a03fdcb1SArchit Taneja	select DRM_KMS_HELPER
10891185d55SThomas Zimmermann	select FB_CFB_FILLRECT
10991185d55SThomas Zimmermann	select FB_CFB_COPYAREA
11091185d55SThomas Zimmermann	select FB_CFB_IMAGEBLIT
11191185d55SThomas Zimmermann	select FB_DEFERRED_IO
11291185d55SThomas Zimmermann	select FB_SYS_FOPS
11391185d55SThomas Zimmermann	select FB_SYS_FILLRECT
11491185d55SThomas Zimmermann	select FB_SYS_COPYAREA
11591185d55SThomas Zimmermann	select FB_SYS_IMAGEBLIT
11691185d55SThomas Zimmermann	select FRAMEBUFFER_CONSOLE if !EXPERT
11791185d55SThomas Zimmermann	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
118a03fdcb1SArchit Taneja	default y
119a03fdcb1SArchit Taneja	help
120a03fdcb1SArchit Taneja	  Choose this option if you have a need for the legacy fbdev
121a03fdcb1SArchit Taneja	  support. Note that this support also provides the linux console
122a03fdcb1SArchit Taneja	  support on top of your modesetting driver.
123a03fdcb1SArchit Taneja
124a03fdcb1SArchit Taneja	  If in doubt, say "Y".
125a03fdcb1SArchit Taneja
1265f152576SXinliang Liuconfig DRM_FBDEV_OVERALLOC
1275f152576SXinliang Liu	int "Overallocation of the fbdev buffer"
1285f152576SXinliang Liu	depends on DRM_FBDEV_EMULATION
1295f152576SXinliang Liu	default 100
1305f152576SXinliang Liu	help
1315f152576SXinliang Liu	  Defines the fbdev buffer overallocation in percent. Default
1325f152576SXinliang Liu	  is 100. Typical values for double buffering will be 200,
1335f152576SXinliang Liu	  triple buffering 300.
1345f152576SXinliang Liu
1354be9bd10SNeil Armstrongconfig DRM_FBDEV_LEAK_PHYS_SMEM
1364be9bd10SNeil Armstrong	bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
1374be9bd10SNeil Armstrong	depends on DRM_FBDEV_EMULATION && EXPERT
1384be9bd10SNeil Armstrong	default n
1394be9bd10SNeil Armstrong	help
1404be9bd10SNeil Armstrong	  In order to keep user-space compatibility, we want in certain
1414be9bd10SNeil Armstrong	  use-cases to keep leaking the fbdev physical address to the
1424be9bd10SNeil Armstrong	  user-space program handling the fbdev buffer.
1434be9bd10SNeil Armstrong	  This affects, not only, Amlogic, Allwinner or Rockchip devices
1444be9bd10SNeil Armstrong	  with ARM Mali GPUs using an userspace Blob.
1454be9bd10SNeil Armstrong	  This option is not supported by upstream developers and should be
1464be9bd10SNeil Armstrong	  removed as soon as possible and be considered as a broken and
1474be9bd10SNeil Armstrong	  legacy behaviour from a modern fbdev device driver.
1484be9bd10SNeil Armstrong
1494be9bd10SNeil Armstrong	  Please send any bug reports when using this to your proprietary
1504be9bd10SNeil Armstrong	  software vendor that requires this.
1514be9bd10SNeil Armstrong
1524be9bd10SNeil Armstrong	  If in doubt, say "N" or spread the word to your closed source
1534be9bd10SNeil Armstrong	  library vendor.
1544be9bd10SNeil Armstrong
155da0df92bSCarsten Emdeconfig DRM_LOAD_EDID_FIRMWARE
156da0df92bSCarsten Emde	bool "Allow to specify an EDID data set instead of probing for it"
15753fd40a9SJani Nikula	depends on DRM
158da0df92bSCarsten Emde	help
159da0df92bSCarsten Emde	  Say Y here, if you want to use EDID data to be loaded from the
160da0df92bSCarsten Emde	  /lib/firmware directory or one of the provided built-in
161da0df92bSCarsten Emde	  data sets. This may be necessary, if the graphics adapter or
162da0df92bSCarsten Emde	  monitor are unable to provide appropriate EDID data. Since this
163da0df92bSCarsten Emde	  feature is provided as a workaround for broken hardware, the
164da0df92bSCarsten Emde	  default case is N. Details and instructions how to build your own
16572ef5e52SMauro Carvalho Chehab	  EDID data are given in Documentation/admin-guide/edid.rst.
166da0df92bSCarsten Emde
1672c6d1fffSHans Verkuilconfig DRM_DP_CEC
1682c6d1fffSHans Verkuil	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
169539bbf31SHans Verkuil	depends on DRM
1702c6d1fffSHans Verkuil	select CEC_CORE
1712c6d1fffSHans Verkuil	help
1722c6d1fffSHans Verkuil	  Choose this option if you want to enable HDMI CEC support for
1732c6d1fffSHans Verkuil	  DisplayPort/USB-C to HDMI adapters.
1742c6d1fffSHans Verkuil
1752c6d1fffSHans Verkuil	  Note: not all adapters support this feature, and even for those
1762c6d1fffSHans Verkuil	  that do support this they often do not hook up the CEC pin.
1772c6d1fffSHans Verkuil
178ba4e7d97SThomas Hellstromconfig DRM_TTM
179771fe6b9SJerome Glisse	tristate
18062a0d98aSBenjamin Gaignard	depends on DRM && MMU
181ba4e7d97SThomas Hellstrom	help
182ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
183ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
184ba4e7d97SThomas Hellstrom	  uses it.
185ba4e7d97SThomas Hellstrom
18685438a8dSThomas Zimmermannconfig DRM_VRAM_HELPER
18785438a8dSThomas Zimmermann	tristate
18885438a8dSThomas Zimmermann	depends on DRM
18985438a8dSThomas Zimmermann	help
19085438a8dSThomas Zimmermann	  Helpers for VRAM memory management
19185438a8dSThomas Zimmermann
192ff540b76SGerd Hoffmannconfig DRM_TTM_HELPER
193ff540b76SGerd Hoffmann	tristate
194ff540b76SGerd Hoffmann	depends on DRM
195ff540b76SGerd Hoffmann	select DRM_TTM
196ff540b76SGerd Hoffmann	help
197ff540b76SGerd Hoffmann	  Helpers for ttm-based gem objects
198ff540b76SGerd Hoffmann
199b9d47450SSascha Hauerconfig DRM_GEM_CMA_HELPER
200b9d47450SSascha Hauer	bool
201e1c7e324SChristoph Hellwig	depends on DRM
202b9d47450SSascha Hauer	help
203b9d47450SSascha Hauer	  Choose this if you need the GEM CMA helper functions
204b9d47450SSascha Hauer
2052e3b3c42SLars-Peter Clausenconfig DRM_KMS_CMA_HELPER
2062e3b3c42SLars-Peter Clausen	bool
207e1c7e324SChristoph Hellwig	depends on DRM
2082e3b3c42SLars-Peter Clausen	select DRM_GEM_CMA_HELPER
2092e3b3c42SLars-Peter Clausen	help
2102e3b3c42SLars-Peter Clausen	  Choose this if you need the KMS CMA helper functions
2112e3b3c42SLars-Peter Clausen
2122194a63aSNoralf Trønnesconfig DRM_GEM_SHMEM_HELPER
2132194a63aSNoralf Trønnes	bool
2142194a63aSNoralf Trønnes	depends on DRM
2152194a63aSNoralf Trønnes	help
2162194a63aSNoralf Trønnes	  Choose this if you need the GEM shmem helper functions
2172194a63aSNoralf Trønnes
2181b1f42d8SLucas Stachconfig DRM_SCHED
2191b1f42d8SLucas Stach	tristate
2201b1f42d8SLucas Stach	depends on DRM
2211b1f42d8SLucas Stach
2226504d0d9SRob Clarksource "drivers/gpu/drm/i2c/Kconfig"
2236504d0d9SRob Clark
2248e22d792SLiviu Dudausource "drivers/gpu/drm/arm/Kconfig"
2258e22d792SLiviu Dudau
226c0e09200SDave Airlieconfig DRM_RADEON
227c0e09200SDave Airlie	tristate "ATI Radeon"
228011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
229cba2afb6SChristian König	depends on AGP || !AGP
23070967ab9SBen Hutchings	select FW_LOADER
231a0cdc649SDave Airlie        select DRM_KMS_HELPER
232a0cdc649SDave Airlie        select DRM_TTM
23349a3f51dSThomas Zimmermann	select DRM_TTM_HELPER
2345d9b7e2dSDave Airlie	select POWER_SUPPLY
23521a8122aSAlex Deucher	select HWMON
23614adc892SChristian König	select BACKLIGHT_CLASS_DEVICE
2370aea5e4aSAlex Deucher	select INTERVAL_TREE
238c0e09200SDave Airlie	help
239c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
240c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
241c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
242c0e09200SDave Airlie
243c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
244c0e09200SDave Airlie
245f71d0187SDave Airliesource "drivers/gpu/drm/radeon/Kconfig"
246f71d0187SDave Airlie
247d38ceaf9SAlex Deucherconfig DRM_AMDGPU
248d38ceaf9SAlex Deucher	tristate "AMD GPU"
249011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
250d38ceaf9SAlex Deucher	select FW_LOADER
251d38ceaf9SAlex Deucher	select DRM_KMS_HELPER
2521b1f42d8SLucas Stach	select DRM_SCHED
253d38ceaf9SAlex Deucher	select DRM_TTM
25449a3f51dSThomas Zimmermann	select DRM_TTM_HELPER
255d38ceaf9SAlex Deucher	select POWER_SUPPLY
256d38ceaf9SAlex Deucher	select HWMON
257d38ceaf9SAlex Deucher	select BACKLIGHT_CLASS_DEVICE
258d38ceaf9SAlex Deucher	select INTERVAL_TREE
259a2f14820SFelix Kuehling	select CHASH
260d38ceaf9SAlex Deucher	help
261d38ceaf9SAlex Deucher	  Choose this option if you have a recent AMD Radeon graphics card.
262d38ceaf9SAlex Deucher
263d38ceaf9SAlex Deucher	  If M is selected, the module will be called amdgpu.
264d38ceaf9SAlex Deucher
265d38ceaf9SAlex Deuchersource "drivers/gpu/drm/amd/amdgpu/Kconfig"
266a8fe58ceSMaruthi Bayyavarapu
267f3c93cbdSBen Skeggssource "drivers/gpu/drm/nouveau/Kconfig"
268f3c93cbdSBen Skeggs
2694520f53aSDaniel Vettersource "drivers/gpu/drm/i915/Kconfig"
27099486b8eSJosh Triplett
271ed794057SAnitha Chrisanthussource "drivers/gpu/drm/kmb/Kconfig"
272ed794057SAnitha Chrisanthus
273502e95c6SZach Reiznerconfig DRM_VGEM
274502e95c6SZach Reizner	tristate "Virtual GEM provider"
275502e95c6SZach Reizner	depends on DRM
276502e95c6SZach Reizner	help
277502e95c6SZach Reizner	  Choose this option to get a virtual graphics memory manager,
278502e95c6SZach Reizner	  as used by Mesa's software renderer for enhanced performance.
279502e95c6SZach Reizner	  If M is selected the module will be called vgem.
280502e95c6SZach Reizner
2811c7c5fd9SHaneen Mohammedconfig DRM_VKMS
282c91b007eSRodrigo Siqueira	tristate "Virtual KMS (EXPERIMENTAL)"
2831c7c5fd9SHaneen Mohammed	depends on DRM
2845ba57babSArnd Bergmann	select DRM_KMS_HELPER
285488c888aSDaniel Vetter	select DRM_GEM_SHMEM_HELPER
286f2a4a13aSzhong jiang	select CRC32
287c91b007eSRodrigo Siqueira	default n
2881c7c5fd9SHaneen Mohammed	help
289c91b007eSRodrigo Siqueira	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for
290c91b007eSRodrigo Siqueira	  running GPU in a headless machines. Choose this option to get
291c91b007eSRodrigo Siqueira	  a VKMS.
292c91b007eSRodrigo Siqueira
2931c7c5fd9SHaneen Mohammed	  If M is selected the module will be called vkms.
294502e95c6SZach Reizner
2951c248b7dSInki Daesource "drivers/gpu/drm/exynos/Kconfig"
2965a7b74beSThomas Hellstrom
2972048e328SMark Yaosource "drivers/gpu/drm/rockchip/Kconfig"
2982048e328SMark Yao
2995a7b74beSThomas Hellstromsource "drivers/gpu/drm/vmwgfx/Kconfig"
30091c75492SAlan Cox
30191c75492SAlan Coxsource "drivers/gpu/drm/gma500/Kconfig"
30291c75492SAlan Cox
3035320918bSDave Airliesource "drivers/gpu/drm/udl/Kconfig"
304312fec14SDave Airlie
305312fec14SDave Airliesource "drivers/gpu/drm/ast/Kconfig"
306312fec14SDave Airlie
307414c4531SDave Airliesource "drivers/gpu/drm/mgag200/Kconfig"
308f9aa76a8SDave Airlie
30996f60e37SRussell Kingsource "drivers/gpu/drm/armada/Kconfig"
31096f60e37SRussell King
3111a396789SBoris Brezillonsource "drivers/gpu/drm/atmel-hlcdc/Kconfig"
3121a396789SBoris Brezillon
3134bf8e196SLaurent Pinchartsource "drivers/gpu/drm/rcar-du/Kconfig"
3144bf8e196SLaurent Pinchart
31551c13278SLaurent Pinchartsource "drivers/gpu/drm/shmobile/Kconfig"
316d8f4a9edSThierry Reding
3179026e0d1SMaxime Ripardsource "drivers/gpu/drm/sun4i/Kconfig"
3189026e0d1SMaxime Ripard
3198bb0daffSRob Clarksource "drivers/gpu/drm/omapdrm/Kconfig"
320ca18e142SDave Airlie
32116ea975eSRob Clarksource "drivers/gpu/drm/tilcdc/Kconfig"
322f64122c1SDave Airlie
323f64122c1SDave Airliesource "drivers/gpu/drm/qxl/Kconfig"
324c8afe684SRob Clark
3250a6659bdSGerd Hoffmannsource "drivers/gpu/drm/bochs/Kconfig"
3260a6659bdSGerd Hoffmann
327dc5698e8SDave Airliesource "drivers/gpu/drm/virtio/Kconfig"
328dc5698e8SDave Airlie
329c8afe684SRob Clarksource "drivers/gpu/drm/msm/Kconfig"
330dee8268fSThierry Reding
331109eee2fSJianwei Wangsource "drivers/gpu/drm/fsl-dcu/Kconfig"
332109eee2fSJianwei Wang
333dee8268fSThierry Redingsource "drivers/gpu/drm/tegra/Kconfig"
334aead40eaSThierry Reding
335b759012cSYannick Fertresource "drivers/gpu/drm/stm/Kconfig"
336b759012cSYannick Fertre
337aead40eaSThierry Redingsource "drivers/gpu/drm/panel/Kconfig"
338f2cb3148SBenjamin Gaignard
339a33ee95fSThierry Redingsource "drivers/gpu/drm/bridge/Kconfig"
340a33ee95fSThierry Reding
341f2cb3148SBenjamin Gaignardsource "drivers/gpu/drm/sti/Kconfig"
3424a488a7aSOded Gabbay
3436556f7f8SPhilipp Zabelsource "drivers/gpu/drm/imx/Kconfig"
344c8b75bcaSEric Anholt
34590b86fccSPaul Cercueilsource "drivers/gpu/drm/ingenic/Kconfig"
34690b86fccSPaul Cercueil
34757692c94SEric Anholtsource "drivers/gpu/drm/v3d/Kconfig"
34857692c94SEric Anholt
349c8b75bcaSEric Anholtsource "drivers/gpu/drm/vc4/Kconfig"
350a8c21a54SThe etnaviv authors
351a8c21a54SThe etnaviv authorssource "drivers/gpu/drm/etnaviv/Kconfig"
35251dacf20SCarlos Palminha
35323e7b2abSXinliang Liusource "drivers/gpu/drm/hisilicon/Kconfig"
354119f5173SCK Hu
355119f5173SCK Husource "drivers/gpu/drm/mediatek/Kconfig"
356d92d9c3aSDavid Herrmann
3570a886f59SShawn Guosource "drivers/gpu/drm/zte/Kconfig"
3580a886f59SShawn Guo
35945d59d70SMarek Vasutsource "drivers/gpu/drm/mxsfb/Kconfig"
36045d59d70SMarek Vasut
361bbbe775eSNeil Armstrongsource "drivers/gpu/drm/meson/Kconfig"
362bbbe775eSNeil Armstrong
363043386a0SNoralf Trønnessource "drivers/gpu/drm/tiny/Kconfig"
364fa201ac2SNoralf Trønnes
365bed41005STom Cookseysource "drivers/gpu/drm/pl111/Kconfig"
366bed41005STom Cooksey
367179c02feSLinus Walleijsource "drivers/gpu/drm/tve200/Kconfig"
368179c02feSLinus Walleij
369c575b7eeSOleksandr Andrushchenkosource "drivers/gpu/drm/xen/Kconfig"
370c575b7eeSOleksandr Andrushchenko
371131abc56SHans de Goedesource "drivers/gpu/drm/vboxvideo/Kconfig"
372131abc56SHans de Goede
373a1d2a633SQiang Yusource "drivers/gpu/drm/lima/Kconfig"
374a1d2a633SQiang Yu
375f3ba9122SRob Herringsource "drivers/gpu/drm/panfrost/Kconfig"
376f3ba9122SRob Herring
3774f2a8f58SJoel Stanleysource "drivers/gpu/drm/aspeed/Kconfig"
3784f2a8f58SJoel Stanley
3795fc537bfSLinus Walleijsource "drivers/gpu/drm/mcde/Kconfig"
3805fc537bfSLinus Walleij
38132a1795fSJyri Sarhasource "drivers/gpu/drm/tidss/Kconfig"
38232a1795fSJyri Sarha
383d76271d2SHyun Kwonsource "drivers/gpu/drm/xlnx/Kconfig"
384d76271d2SHyun Kwon
38540e1a70bSNoralf Trønnessource "drivers/gpu/drm/gud/Kconfig"
38640e1a70bSNoralf Trønnes
38776c56a5aSDeepak Rawatconfig DRM_HYPERV
38876c56a5aSDeepak Rawat	tristate "DRM Support for Hyper-V synthetic video device"
38976c56a5aSDeepak Rawat	depends on DRM && PCI && MMU && HYPERV
39076c56a5aSDeepak Rawat	select DRM_KMS_HELPER
39176c56a5aSDeepak Rawat	select DRM_GEM_SHMEM_HELPER
39276c56a5aSDeepak Rawat	help
39376c56a5aSDeepak Rawat	 This is a KMS driver for Hyper-V synthetic video device. Choose this
39476c56a5aSDeepak Rawat	 option if you would like to enable drm driver for Hyper-V virtual
39576c56a5aSDeepak Rawat	 machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
39676c56a5aSDeepak Rawat	 that DRM driver is used by default.
39776c56a5aSDeepak Rawat
39876c56a5aSDeepak Rawat	 If M is selected the module will be called hyperv_drm.
39976c56a5aSDeepak Rawat
400d92d9c3aSDavid Herrmann# Keep legacy drivers last
401d92d9c3aSDavid Herrmann
402d92d9c3aSDavid Herrmannmenuconfig DRM_LEGACY
403d92d9c3aSDavid Herrmann	bool "Enable legacy drivers (DANGEROUS)"
4047e53c284SBenjamin Gaignard	depends on DRM && MMU
405d92d9c3aSDavid Herrmann	help
406d92d9c3aSDavid Herrmann	  Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
407d92d9c3aSDavid Herrmann	  APIs to user-space, which can be used to circumvent access
408d92d9c3aSDavid Herrmann	  restrictions and other security measures. For backwards compatibility
409d92d9c3aSDavid Herrmann	  those drivers are still available, but their use is highly
410d92d9c3aSDavid Herrmann	  inadvisable and might harm your system.
411d92d9c3aSDavid Herrmann
412d92d9c3aSDavid Herrmann	  You are recommended to use the safe modeset-only drivers instead, and
413d92d9c3aSDavid Herrmann	  perform 3D emulation in user-space.
414d92d9c3aSDavid Herrmann
415d92d9c3aSDavid Herrmann	  Unless you have strong reasons to go rogue, say "N".
416d92d9c3aSDavid Herrmann
417d92d9c3aSDavid Herrmannif DRM_LEGACY
418d92d9c3aSDavid Herrmann
419d92d9c3aSDavid Herrmannconfig DRM_TDFX
420d92d9c3aSDavid Herrmann	tristate "3dfx Banshee/Voodoo3+"
421d92d9c3aSDavid Herrmann	depends on DRM && PCI
422d92d9c3aSDavid Herrmann	help
423d92d9c3aSDavid Herrmann	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
424d92d9c3aSDavid Herrmann	  graphics card.  If M is selected, the module will be called tdfx.
425d92d9c3aSDavid Herrmann
426d92d9c3aSDavid Herrmannconfig DRM_R128
427d92d9c3aSDavid Herrmann	tristate "ATI Rage 128"
428d92d9c3aSDavid Herrmann	depends on DRM && PCI
429d92d9c3aSDavid Herrmann	select FW_LOADER
430d92d9c3aSDavid Herrmann	help
431d92d9c3aSDavid Herrmann	  Choose this option if you have an ATI Rage 128 graphics card.  If M
432d92d9c3aSDavid Herrmann	  is selected, the module will be called r128.  AGP support for
433d92d9c3aSDavid Herrmann	  this card is strongly suggested (unless you have a PCI version).
434d92d9c3aSDavid Herrmann
435d92d9c3aSDavid Herrmannconfig DRM_I810
436d92d9c3aSDavid Herrmann	tristate "Intel I810"
437f86cf719SSebastian Andrzej Siewior	# !PREEMPTION because of missing ioctl locking
438dc25ace6SThomas Gleixner	depends on DRM && AGP && AGP_INTEL && (!PREEMPTION || BROKEN)
439d92d9c3aSDavid Herrmann	help
440d92d9c3aSDavid Herrmann	  Choose this option if you have an Intel I810 graphics card.  If M is
441d92d9c3aSDavid Herrmann	  selected, the module will be called i810.  AGP support is required
442d92d9c3aSDavid Herrmann	  for this driver to work.
443d92d9c3aSDavid Herrmann
444d92d9c3aSDavid Herrmannconfig DRM_MGA
445d92d9c3aSDavid Herrmann	tristate "Matrox g200/g400"
446d92d9c3aSDavid Herrmann	depends on DRM && PCI
447d92d9c3aSDavid Herrmann	select FW_LOADER
448d92d9c3aSDavid Herrmann	help
449d92d9c3aSDavid Herrmann	  Choose this option if you have a Matrox G200, G400 or G450 graphics
450d92d9c3aSDavid Herrmann	  card.  If M is selected, the module will be called mga.  AGP
451d92d9c3aSDavid Herrmann	  support is required for this driver to work.
452d92d9c3aSDavid Herrmann
453d92d9c3aSDavid Herrmannconfig DRM_SIS
454d92d9c3aSDavid Herrmann	tristate "SiS video cards"
455d92d9c3aSDavid Herrmann	depends on DRM && AGP
456d92d9c3aSDavid Herrmann	depends on FB_SIS || FB_SIS=n
457d92d9c3aSDavid Herrmann	help
458d92d9c3aSDavid Herrmann	  Choose this option if you have a SiS 630 or compatible video
459d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called sis. AGP
460d92d9c3aSDavid Herrmann	  support is required for this driver to work.
461d92d9c3aSDavid Herrmann
462d92d9c3aSDavid Herrmannconfig DRM_VIA
463d92d9c3aSDavid Herrmann	tristate "Via unichrome video cards"
464d92d9c3aSDavid Herrmann	depends on DRM && PCI
465d92d9c3aSDavid Herrmann	help
466d92d9c3aSDavid Herrmann	  Choose this option if you have a Via unichrome or compatible video
467d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called via.
468d92d9c3aSDavid Herrmann
469d92d9c3aSDavid Herrmannconfig DRM_SAVAGE
470d92d9c3aSDavid Herrmann	tristate "Savage video cards"
471d92d9c3aSDavid Herrmann	depends on DRM && PCI
472d92d9c3aSDavid Herrmann	help
473d92d9c3aSDavid Herrmann	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
474d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called savage.
475d92d9c3aSDavid Herrmann
476d92d9c3aSDavid Herrmannendif # DRM_LEGACY
477a33d42ddSChris Wilson
4789b6c80beSRandy Dunlapconfig DRM_EXPORT_FOR_TESTS
4799b6c80beSRandy Dunlap	bool
4809b6c80beSRandy Dunlap
481341a0ffcSHans de Goede# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
482341a0ffcSHans de Goedeconfig DRM_PANEL_ORIENTATION_QUIRKS
483341a0ffcSHans de Goede	tristate
484341a0ffcSHans de Goede
485a33d42ddSChris Wilsonconfig DRM_LIB_RANDOM
486a33d42ddSChris Wilson	bool
487a33d42ddSChris Wilson	default n
488