xref: /linux/drivers/gpu/drm/Kconfig (revision ffcc67cd79ff2e93fd0bdb837c99cbab6c59d38c)
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
12c242f484SJavier Martinez Canillas	select DRM_KMS_HELPER if DRM_FBDEV_EMULATION
13c242f484SJavier Martinez Canillas	select FB_CORE if DRM_FBDEV_EMULATION
14cd8a064fSThomas Zimmermann	select FB_SYSMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
1510a85120SThierry Reding	select HDMI
1657a6297eSDave Airlie	select I2C
173248877eSDave Airlie	select DMA_SHARED_BUFFER
1896260142SGustavo Padovan	select SYNC_FILE
19bfe3911aSChris Wilson# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
20bfe3911aSChris Wilson# device and dmabuf fd. Let's make sure that is available for our userspace.
21bfe3911aSChris Wilson	select KCMP
2293604a5aSThomas Zimmermann	select VIDEO_CMDLINE
239a758d87SThomas Zimmermann	select VIDEO_NOMODESET
24c0e09200SDave Airlie	help
25c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
26c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
27c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
28c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
29c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
30c0e09200SDave Airlie	  details.  You should also select and configure AGP
31dcdb1674SJordan Crouse	  (/dev/agpgart) support if it is available for your platform.
32c0e09200SDave Airlie
33174102f4SNoralf Trønnesconfig DRM_MIPI_DBI
34174102f4SNoralf Trønnes	tristate
35174102f4SNoralf Trønnes	depends on DRM
36eb7de496SRandy Dunlap	select DRM_KMS_HELPER
37174102f4SNoralf Trønnes
38068a0023SAndrzej Hajdaconfig DRM_MIPI_DSI
39068a0023SAndrzej Hajda	bool
40068a0023SAndrzej Hajda	depends on DRM
41068a0023SAndrzej Hajda
425705670dSChris Wilsonconfig DRM_DEBUG_MM
435705670dSChris Wilson	bool "Insert extra checks and debug info into the DRM range managers"
445705670dSChris Wilson	default n
453a63826cSVille Syrjälä	depends on DRM
464b514e10SChris Wilson	depends on STACKTRACE_SUPPORT
475705670dSChris Wilson	select STACKDEPOT
485705670dSChris Wilson	help
495705670dSChris Wilson	  Enable allocation tracking of memory manager and leak detection on
505705670dSChris Wilson	  shutdown.
515705670dSChris Wilson
525705670dSChris Wilson	  Recommended for driver developers only.
535705670dSChris Wilson
545705670dSChris Wilson	  If in doubt, say "N".
555705670dSChris Wilson
5684ec6728SJim Cromieconfig DRM_USE_DYNAMIC_DEBUG
5784ec6728SJim Cromie	bool "use dynamic debug to implement drm.debug"
58bb2ff6c2SVille Syrjälä	default n
59bb2ff6c2SVille Syrjälä	depends on BROKEN
6084ec6728SJim Cromie	depends on DRM
6184ec6728SJim Cromie	depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE
6284ec6728SJim Cromie	depends on JUMP_LABEL
6384ec6728SJim Cromie	help
6484ec6728SJim Cromie	  Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
6584ec6728SJim Cromie	  Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
6684ec6728SJim Cromie	  bytes per callsite, the .data costs can be substantial, and
6784ec6728SJim Cromie	  are therefore configurable.
6884ec6728SJim Cromie
69b85be042SMaxime Ripardconfig DRM_KUNIT_TEST_HELPERS
70b85be042SMaxime Ripard	tristate
71b85be042SMaxime Ripard	depends on DRM && KUNIT
72b85be042SMaxime Ripard	help
73b85be042SMaxime Ripard	  KUnit Helpers for KMS drivers.
74b85be042SMaxime Ripard
758f456104SJosé Expósitoconfig DRM_KUNIT_TEST
768f456104SJosé Expósito	tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS
7793032ae6SMarco Pagani	depends on DRM && KUNIT && MMU
78f740f031SMarco Pagani	select DRM_BUDDY
79ba8f16cdSMaíra Canal	select DRM_DISPLAY_DP_HELPER
80ba8f16cdSMaíra Canal	select DRM_DISPLAY_HELPER
819710631cSChristian König	select DRM_EXEC
82f740f031SMarco Pagani	select DRM_EXPORT_FOR_TESTS if m
8393032ae6SMarco Pagani	select DRM_GEM_SHMEM_HELPER
84f740f031SMarco Pagani	select DRM_KMS_HELPER
85f740f031SMarco Pagani	select DRM_KUNIT_TEST_HELPERS
86f740f031SMarco Pagani	select DRM_LIB_RANDOM
87f740f031SMarco Pagani	select PRIME_NUMBERS
888f456104SJosé Expósito	default KUNIT_ALL_TESTS
898f456104SJosé Expósito	help
908f456104SJosé Expósito	  This builds unit tests for DRM. This option is not useful for
918f456104SJosé Expósito	  distributions or general kernels, but only for kernel
928f456104SJosé Expósito	  developers working on DRM and associated drivers.
938f456104SJosé Expósito
948f456104SJosé Expósito	  For more information on KUnit and unit tests in general,
958f456104SJosé Expósito	  please refer to the KUnit documentation in
968f456104SJosé Expósito	  Documentation/dev-tools/kunit/.
978f456104SJosé Expósito
988f456104SJosé Expósito	  If in doubt, say "N".
998f456104SJosé Expósito
1006fcefd56SDave Airlieconfig DRM_KMS_HELPER
10113a8195bSDave Airlie	tristate
10213a8195bSDave Airlie	depends on DRM
10392b6f89fSDaniel Vetter	help
10492b6f89fSDaniel Vetter	  CRTC helpers for KMS drivers.
10592b6f89fSDaniel Vetter
10612a280c7SLyude Paulconfig DRM_DEBUG_DP_MST_TOPOLOGY_REFS
10712a280c7SLyude Paul        bool "Enable refcount backtrace history in the DP MST helpers"
108d6d07ca1SGuenter Roeck	depends on STACKTRACE_SUPPORT
10912a280c7SLyude Paul        select STACKDEPOT
11012a280c7SLyude Paul        depends on DRM_KMS_HELPER
11112a280c7SLyude Paul        depends on DEBUG_KERNEL
11212a280c7SLyude Paul        depends on EXPERT
11312a280c7SLyude Paul        help
11412a280c7SLyude Paul          Enables debug tracing for topology refs in DRM's DP MST helpers. A
11512a280c7SLyude Paul          history of each topology reference/dereference will be printed to the
11612a280c7SLyude Paul          kernel log once a port or branch device's topology refcount reaches 0.
11712a280c7SLyude Paul
11812a280c7SLyude Paul          This has the potential to use a lot of memory and print some very
11912a280c7SLyude Paul          large kernel messages. If in doubt, say "N".
12012a280c7SLyude Paul
121cd06ab2fSJani Nikulaconfig DRM_DEBUG_MODESET_LOCK
122cd06ab2fSJani Nikula	bool "Enable backtrace history for lock contention"
123cd06ab2fSJani Nikula	depends on STACKTRACE_SUPPORT
124cd06ab2fSJani Nikula	depends on DEBUG_KERNEL
125cd06ab2fSJani Nikula	depends on EXPERT
126cd06ab2fSJani Nikula	select STACKDEPOT
127cd06ab2fSJani Nikula	default y if DEBUG_WW_MUTEX_SLOWPATH
128cd06ab2fSJani Nikula	help
129cd06ab2fSJani Nikula	  Enable debug tracing of failures to gracefully handle drm modeset lock
130cd06ab2fSJani Nikula	  contention. A history of each drm modeset lock path hitting -EDEADLK
131cd06ab2fSJani Nikula	  will be saved until gracefully handled, and the backtrace will be
132cd06ab2fSJani Nikula	  printed when attempting to lock a contended lock.
133cd06ab2fSJani Nikula
134cd06ab2fSJani Nikula	  If in doubt, say "N".
135cd06ab2fSJani Nikula
136a03fdcb1SArchit Tanejaconfig DRM_FBDEV_EMULATION
137a03fdcb1SArchit Taneja	bool "Enable legacy fbdev support for your modesetting driver"
138c242f484SJavier Martinez Canillas	depends on DRM
13991185d55SThomas Zimmermann	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
140bb6c4507SArnd Bergmann	default FB
141a03fdcb1SArchit Taneja	help
142a03fdcb1SArchit Taneja	  Choose this option if you have a need for the legacy fbdev
143a03fdcb1SArchit Taneja	  support. Note that this support also provides the linux console
144a03fdcb1SArchit Taneja	  support on top of your modesetting driver.
145a03fdcb1SArchit Taneja
146a03fdcb1SArchit Taneja	  If in doubt, say "Y".
147a03fdcb1SArchit Taneja
1485f152576SXinliang Liuconfig DRM_FBDEV_OVERALLOC
1495f152576SXinliang Liu	int "Overallocation of the fbdev buffer"
1505f152576SXinliang Liu	depends on DRM_FBDEV_EMULATION
1515f152576SXinliang Liu	default 100
1525f152576SXinliang Liu	help
1535f152576SXinliang Liu	  Defines the fbdev buffer overallocation in percent. Default
1545f152576SXinliang Liu	  is 100. Typical values for double buffering will be 200,
1555f152576SXinliang Liu	  triple buffering 300.
1565f152576SXinliang Liu
1574be9bd10SNeil Armstrongconfig DRM_FBDEV_LEAK_PHYS_SMEM
1584be9bd10SNeil Armstrong	bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
1594be9bd10SNeil Armstrong	depends on DRM_FBDEV_EMULATION && EXPERT
1604be9bd10SNeil Armstrong	default n
1614be9bd10SNeil Armstrong	help
1624be9bd10SNeil Armstrong	  In order to keep user-space compatibility, we want in certain
1634be9bd10SNeil Armstrong	  use-cases to keep leaking the fbdev physical address to the
1644be9bd10SNeil Armstrong	  user-space program handling the fbdev buffer.
1654be9bd10SNeil Armstrong	  This affects, not only, Amlogic, Allwinner or Rockchip devices
1664be9bd10SNeil Armstrong	  with ARM Mali GPUs using an userspace Blob.
1674be9bd10SNeil Armstrong	  This option is not supported by upstream developers and should be
1684be9bd10SNeil Armstrong	  removed as soon as possible and be considered as a broken and
1694be9bd10SNeil Armstrong	  legacy behaviour from a modern fbdev device driver.
1704be9bd10SNeil Armstrong
1714be9bd10SNeil Armstrong	  Please send any bug reports when using this to your proprietary
1724be9bd10SNeil Armstrong	  software vendor that requires this.
1734be9bd10SNeil Armstrong
1744be9bd10SNeil Armstrong	  If in doubt, say "N" or spread the word to your closed source
1754be9bd10SNeil Armstrong	  library vendor.
1764be9bd10SNeil Armstrong
177da0df92bSCarsten Emdeconfig DRM_LOAD_EDID_FIRMWARE
178da0df92bSCarsten Emde	bool "Allow to specify an EDID data set instead of probing for it"
17953fd40a9SJani Nikula	depends on DRM
180da0df92bSCarsten Emde	help
181da0df92bSCarsten Emde	  Say Y here, if you want to use EDID data to be loaded from the
182da0df92bSCarsten Emde	  /lib/firmware directory or one of the provided built-in
183da0df92bSCarsten Emde	  data sets. This may be necessary, if the graphics adapter or
184da0df92bSCarsten Emde	  monitor are unable to provide appropriate EDID data. Since this
185da0df92bSCarsten Emde	  feature is provided as a workaround for broken hardware, the
186da0df92bSCarsten Emde	  default case is N. Details and instructions how to build your own
18772ef5e52SMauro Carvalho Chehab	  EDID data are given in Documentation/admin-guide/edid.rst.
188da0df92bSCarsten Emde
1891e0f6642SThomas Zimmermannsource "drivers/gpu/drm/display/Kconfig"
1902c6d1fffSHans Verkuil
191ba4e7d97SThomas Hellstromconfig DRM_TTM
192771fe6b9SJerome Glisse	tristate
19362a0d98aSBenjamin Gaignard	depends on DRM && MMU
194ba4e7d97SThomas Hellstrom	help
195ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
196ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
197ba4e7d97SThomas Hellstrom	  uses it.
198ba4e7d97SThomas Hellstrom
199e3912d09SKarolina Stolarekconfig DRM_TTM_KUNIT_TEST
200e3912d09SKarolina Stolarek        tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS
201e3912d09SKarolina Stolarek        default n
20278f46ecdSKarolina Stolarek        depends on DRM && KUNIT && MMU
203e3912d09SKarolina Stolarek        select DRM_TTM
204e3912d09SKarolina Stolarek        select DRM_EXPORT_FOR_TESTS if m
205e3912d09SKarolina Stolarek        select DRM_KUNIT_TEST_HELPERS
206e3912d09SKarolina Stolarek        default KUNIT_ALL_TESTS
207e3912d09SKarolina Stolarek        help
208e3912d09SKarolina Stolarek          Enables unit tests for TTM, a GPU memory manager subsystem used
209e3912d09SKarolina Stolarek          to manage memory buffers. This option is mostly useful for kernel
210e3912d09SKarolina Stolarek          developers.
211e3912d09SKarolina Stolarek
212e3912d09SKarolina Stolarek          If in doubt, say "N".
213e3912d09SKarolina Stolarek
21409593216SChristian Königconfig DRM_EXEC
21509593216SChristian König	tristate
21609593216SChristian König	depends on DRM
21709593216SChristian König	help
21809593216SChristian König	  Execution context for command submissions
21909593216SChristian König
220fe7acaa7SDanilo Krummrichconfig DRM_GPUVM
221fe7acaa7SDanilo Krummrich	tristate
222fe7acaa7SDanilo Krummrich	depends on DRM
223fe7acaa7SDanilo Krummrich	help
224fe7acaa7SDanilo Krummrich	  GPU-VM representation providing helpers to manage a GPUs virtual
225fe7acaa7SDanilo Krummrich	  address space
226fe7acaa7SDanilo Krummrich
2276387a3c4SArunpravinconfig DRM_BUDDY
2286387a3c4SArunpravin	tristate
2296387a3c4SArunpravin	depends on DRM
2306387a3c4SArunpravin	help
2316387a3c4SArunpravin	  A page based buddy allocator
2326387a3c4SArunpravin
23385438a8dSThomas Zimmermannconfig DRM_VRAM_HELPER
23485438a8dSThomas Zimmermann	tristate
23585438a8dSThomas Zimmermann	depends on DRM
23685438a8dSThomas Zimmermann	help
23785438a8dSThomas Zimmermann	  Helpers for VRAM memory management
23885438a8dSThomas Zimmermann
239ff540b76SGerd Hoffmannconfig DRM_TTM_HELPER
240ff540b76SGerd Hoffmann	tristate
241ff540b76SGerd Hoffmann	depends on DRM
242ff540b76SGerd Hoffmann	select DRM_TTM
243ff540b76SGerd Hoffmann	help
244ff540b76SGerd Hoffmann	  Helpers for ttm-based gem objects
245ff540b76SGerd Hoffmann
2464a83c26aSDanilo Krummrichconfig DRM_GEM_DMA_HELPER
2474b2b5e14SThomas Zimmermann	tristate
248e1c7e324SChristoph Hellwig	depends on DRM
249b21f187fSThomas Zimmermann	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
250b9d47450SSascha Hauer	help
2514a83c26aSDanilo Krummrich	  Choose this if you need the GEM DMA helper functions
252b9d47450SSascha Hauer
2532194a63aSNoralf Trønnesconfig DRM_GEM_SHMEM_HELPER
2544b2b5e14SThomas Zimmermann	tristate
2558b93d1d7SDaniel Vetter	depends on DRM && MMU
2562194a63aSNoralf Trønnes	help
2572194a63aSNoralf Trønnes	  Choose this if you need the GEM shmem helper functions
2582194a63aSNoralf Trønnes
259849ee8a2SMaarten Lankhorstconfig DRM_SUBALLOC_HELPER
260849ee8a2SMaarten Lankhorst	tristate
261849ee8a2SMaarten Lankhorst	depends on DRM
262849ee8a2SMaarten Lankhorst
2631b1f42d8SLucas Stachconfig DRM_SCHED
2641b1f42d8SLucas Stach	tristate
2651b1f42d8SLucas Stach	depends on DRM
2661b1f42d8SLucas Stach
2676504d0d9SRob Clarksource "drivers/gpu/drm/i2c/Kconfig"
2686504d0d9SRob Clark
2698e22d792SLiviu Dudausource "drivers/gpu/drm/arm/Kconfig"
2708e22d792SLiviu Dudau
271f71d0187SDave Airliesource "drivers/gpu/drm/radeon/Kconfig"
272f71d0187SDave Airlie
273d38ceaf9SAlex Deuchersource "drivers/gpu/drm/amd/amdgpu/Kconfig"
274a8fe58ceSMaruthi Bayyavarapu
275f3c93cbdSBen Skeggssource "drivers/gpu/drm/nouveau/Kconfig"
276f3c93cbdSBen Skeggs
2774520f53aSDaniel Vettersource "drivers/gpu/drm/i915/Kconfig"
27899486b8eSJosh Triplett
279ed794057SAnitha Chrisanthussource "drivers/gpu/drm/kmb/Kconfig"
280ed794057SAnitha Chrisanthus
281502e95c6SZach Reiznerconfig DRM_VGEM
282502e95c6SZach Reizner	tristate "Virtual GEM provider"
28345d9c8ddSDaniel Vetter	depends on DRM && MMU
28445d9c8ddSDaniel Vetter	select DRM_GEM_SHMEM_HELPER
285502e95c6SZach Reizner	help
286502e95c6SZach Reizner	  Choose this option to get a virtual graphics memory manager,
287502e95c6SZach Reizner	  as used by Mesa's software renderer for enhanced performance.
288502e95c6SZach Reizner	  If M is selected the module will be called vgem.
289502e95c6SZach Reizner
290*ffcc67cdSHarry Wentlandsource "drivers/gpu/drm/vkms/Kconfig"
291502e95c6SZach Reizner
2921c248b7dSInki Daesource "drivers/gpu/drm/exynos/Kconfig"
2935a7b74beSThomas Hellstrom
2942048e328SMark Yaosource "drivers/gpu/drm/rockchip/Kconfig"
2952048e328SMark Yao
2965a7b74beSThomas Hellstromsource "drivers/gpu/drm/vmwgfx/Kconfig"
29791c75492SAlan Cox
29891c75492SAlan Coxsource "drivers/gpu/drm/gma500/Kconfig"
29991c75492SAlan Cox
3005320918bSDave Airliesource "drivers/gpu/drm/udl/Kconfig"
301312fec14SDave Airlie
302312fec14SDave Airliesource "drivers/gpu/drm/ast/Kconfig"
303312fec14SDave Airlie
304414c4531SDave Airliesource "drivers/gpu/drm/mgag200/Kconfig"
305f9aa76a8SDave Airlie
30696f60e37SRussell Kingsource "drivers/gpu/drm/armada/Kconfig"
30796f60e37SRussell King
3081a396789SBoris Brezillonsource "drivers/gpu/drm/atmel-hlcdc/Kconfig"
3091a396789SBoris Brezillon
31011696c5eSBiju Dassource "drivers/gpu/drm/renesas/Kconfig"
311d8f4a9edSThierry Reding
3129026e0d1SMaxime Ripardsource "drivers/gpu/drm/sun4i/Kconfig"
3139026e0d1SMaxime Ripard
3148bb0daffSRob Clarksource "drivers/gpu/drm/omapdrm/Kconfig"
315ca18e142SDave Airlie
31616ea975eSRob Clarksource "drivers/gpu/drm/tilcdc/Kconfig"
317f64122c1SDave Airlie
318f64122c1SDave Airliesource "drivers/gpu/drm/qxl/Kconfig"
319c8afe684SRob Clark
320dc5698e8SDave Airliesource "drivers/gpu/drm/virtio/Kconfig"
321dc5698e8SDave Airlie
322c8afe684SRob Clarksource "drivers/gpu/drm/msm/Kconfig"
323dee8268fSThierry Reding
324109eee2fSJianwei Wangsource "drivers/gpu/drm/fsl-dcu/Kconfig"
325109eee2fSJianwei Wang
326dee8268fSThierry Redingsource "drivers/gpu/drm/tegra/Kconfig"
327aead40eaSThierry Reding
328b759012cSYannick Fertresource "drivers/gpu/drm/stm/Kconfig"
329b759012cSYannick Fertre
330aead40eaSThierry Redingsource "drivers/gpu/drm/panel/Kconfig"
331f2cb3148SBenjamin Gaignard
332a33ee95fSThierry Redingsource "drivers/gpu/drm/bridge/Kconfig"
333a33ee95fSThierry Reding
334f2cb3148SBenjamin Gaignardsource "drivers/gpu/drm/sti/Kconfig"
3354a488a7aSOded Gabbay
3366556f7f8SPhilipp Zabelsource "drivers/gpu/drm/imx/Kconfig"
337c8b75bcaSEric Anholt
33890b86fccSPaul Cercueilsource "drivers/gpu/drm/ingenic/Kconfig"
33990b86fccSPaul Cercueil
34057692c94SEric Anholtsource "drivers/gpu/drm/v3d/Kconfig"
34157692c94SEric Anholt
342c8b75bcaSEric Anholtsource "drivers/gpu/drm/vc4/Kconfig"
343a8c21a54SThe etnaviv authors
344f39db26cSSui Jingfengsource "drivers/gpu/drm/loongson/Kconfig"
345f39db26cSSui Jingfeng
346a8c21a54SThe etnaviv authorssource "drivers/gpu/drm/etnaviv/Kconfig"
34751dacf20SCarlos Palminha
34823e7b2abSXinliang Liusource "drivers/gpu/drm/hisilicon/Kconfig"
349119f5173SCK Hu
350efeeaefeSPaul Kocialkowskisource "drivers/gpu/drm/logicvc/Kconfig"
351efeeaefeSPaul Kocialkowski
352119f5173SCK Husource "drivers/gpu/drm/mediatek/Kconfig"
353d92d9c3aSDavid Herrmann
35445d59d70SMarek Vasutsource "drivers/gpu/drm/mxsfb/Kconfig"
35545d59d70SMarek Vasut
356bbbe775eSNeil Armstrongsource "drivers/gpu/drm/meson/Kconfig"
357bbbe775eSNeil Armstrong
358043386a0SNoralf Trønnessource "drivers/gpu/drm/tiny/Kconfig"
359fa201ac2SNoralf Trønnes
360bed41005STom Cookseysource "drivers/gpu/drm/pl111/Kconfig"
361bed41005STom Cooksey
362179c02feSLinus Walleijsource "drivers/gpu/drm/tve200/Kconfig"
363179c02feSLinus Walleij
364c575b7eeSOleksandr Andrushchenkosource "drivers/gpu/drm/xen/Kconfig"
365c575b7eeSOleksandr Andrushchenko
366131abc56SHans de Goedesource "drivers/gpu/drm/vboxvideo/Kconfig"
367131abc56SHans de Goede
368a1d2a633SQiang Yusource "drivers/gpu/drm/lima/Kconfig"
369a1d2a633SQiang Yu
370f3ba9122SRob Herringsource "drivers/gpu/drm/panfrost/Kconfig"
371f3ba9122SRob Herring
3724f2a8f58SJoel Stanleysource "drivers/gpu/drm/aspeed/Kconfig"
3734f2a8f58SJoel Stanley
3745fc537bfSLinus Walleijsource "drivers/gpu/drm/mcde/Kconfig"
3755fc537bfSLinus Walleij
37632a1795fSJyri Sarhasource "drivers/gpu/drm/tidss/Kconfig"
37732a1795fSJyri Sarha
378d76271d2SHyun Kwonsource "drivers/gpu/drm/xlnx/Kconfig"
379d76271d2SHyun Kwon
38040e1a70bSNoralf Trønnessource "drivers/gpu/drm/gud/Kconfig"
38140e1a70bSNoralf Trønnes
382a61732e8SJavier Martinez Canillassource "drivers/gpu/drm/solomon/Kconfig"
383a61732e8SJavier Martinez Canillas
38443531eddSKevin Tangsource "drivers/gpu/drm/sprd/Kconfig"
38543531eddSKevin Tang
3864babef07SSarah Walkersource "drivers/gpu/drm/imagination/Kconfig"
3874babef07SSarah Walker
38876c56a5aSDeepak Rawatconfig DRM_HYPERV
38976c56a5aSDeepak Rawat	tristate "DRM Support for Hyper-V synthetic video device"
39076c56a5aSDeepak Rawat	depends on DRM && PCI && MMU && HYPERV
39176c56a5aSDeepak Rawat	select DRM_KMS_HELPER
39276c56a5aSDeepak Rawat	select DRM_GEM_SHMEM_HELPER
39376c56a5aSDeepak Rawat	help
39476c56a5aSDeepak Rawat	 This is a KMS driver for Hyper-V synthetic video device. Choose this
39576c56a5aSDeepak Rawat	 option if you would like to enable drm driver for Hyper-V virtual
39676c56a5aSDeepak Rawat	 machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
39776c56a5aSDeepak Rawat	 that DRM driver is used by default.
39876c56a5aSDeepak Rawat
39976c56a5aSDeepak Rawat	 If M is selected the module will be called hyperv_drm.
40076c56a5aSDeepak Rawat
4019b6c80beSRandy Dunlapconfig DRM_EXPORT_FOR_TESTS
4029b6c80beSRandy Dunlap	bool
4039b6c80beSRandy Dunlap
404341a0ffcSHans de Goede# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
405341a0ffcSHans de Goedeconfig DRM_PANEL_ORIENTATION_QUIRKS
406341a0ffcSHans de Goede	tristate
407341a0ffcSHans de Goede
408a33d42ddSChris Wilsonconfig DRM_LIB_RANDOM
409a33d42ddSChris Wilson	bool
410a33d42ddSChris Wilson	default n
411a1a98689SHans de Goede
412a1a98689SHans de Goedeconfig DRM_PRIVACY_SCREEN
413a1a98689SHans de Goede	bool
414a1a98689SHans de Goede	default n
415