162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Drm device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# This driver provides support for the
662306a36Sopenharmony_ci# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
762306a36Sopenharmony_ci#
862306a36Sopenharmony_cimenuconfig DRM
962306a36Sopenharmony_ci	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
1062306a36Sopenharmony_ci	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
1162306a36Sopenharmony_ci	select DRM_PANEL_ORIENTATION_QUIRKS
1262306a36Sopenharmony_ci	select DRM_KMS_HELPER if DRM_FBDEV_EMULATION
1362306a36Sopenharmony_ci	select FB_CORE if DRM_FBDEV_EMULATION
1462306a36Sopenharmony_ci	select FB_SYSMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
1562306a36Sopenharmony_ci	select HDMI
1662306a36Sopenharmony_ci	select I2C
1762306a36Sopenharmony_ci	select DMA_SHARED_BUFFER
1862306a36Sopenharmony_ci	select SYNC_FILE
1962306a36Sopenharmony_ci# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
2062306a36Sopenharmony_ci# device and dmabuf fd. Let's make sure that is available for our userspace.
2162306a36Sopenharmony_ci	select KCMP
2262306a36Sopenharmony_ci	select VIDEO_CMDLINE
2362306a36Sopenharmony_ci	select VIDEO_NOMODESET
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
2662306a36Sopenharmony_ci	  introduced in XFree86 4.0. If you say Y here, you need to select
2762306a36Sopenharmony_ci	  the module that's right for your graphics card from the list below.
2862306a36Sopenharmony_ci	  These modules provide support for synchronization, security, and
2962306a36Sopenharmony_ci	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
3062306a36Sopenharmony_ci	  details.  You should also select and configure AGP
3162306a36Sopenharmony_ci	  (/dev/agpgart) support if it is available for your platform.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig DRM_MIPI_DBI
3462306a36Sopenharmony_ci	tristate
3562306a36Sopenharmony_ci	depends on DRM
3662306a36Sopenharmony_ci	select DRM_KMS_HELPER
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig DRM_MIPI_DSI
3962306a36Sopenharmony_ci	bool
4062306a36Sopenharmony_ci	depends on DRM
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciconfig DRM_DEBUG_MM
4362306a36Sopenharmony_ci	bool "Insert extra checks and debug info into the DRM range managers"
4462306a36Sopenharmony_ci	default n
4562306a36Sopenharmony_ci	depends on DRM=y
4662306a36Sopenharmony_ci	depends on STACKTRACE_SUPPORT
4762306a36Sopenharmony_ci	select STACKDEPOT
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  Enable allocation tracking of memory manager and leak detection on
5062306a36Sopenharmony_ci	  shutdown.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	  Recommended for driver developers only.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci	  If in doubt, say "N".
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciconfig DRM_USE_DYNAMIC_DEBUG
5762306a36Sopenharmony_ci	bool "use dynamic debug to implement drm.debug"
5862306a36Sopenharmony_ci	default n
5962306a36Sopenharmony_ci	depends on BROKEN
6062306a36Sopenharmony_ci	depends on DRM
6162306a36Sopenharmony_ci	depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE
6262306a36Sopenharmony_ci	depends on JUMP_LABEL
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	  Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
6562306a36Sopenharmony_ci	  Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
6662306a36Sopenharmony_ci	  bytes per callsite, the .data costs can be substantial, and
6762306a36Sopenharmony_ci	  are therefore configurable.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig DRM_KUNIT_TEST_HELPERS
7062306a36Sopenharmony_ci	tristate
7162306a36Sopenharmony_ci	depends on DRM && KUNIT
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  KUnit Helpers for KMS drivers.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig DRM_KUNIT_TEST
7662306a36Sopenharmony_ci	tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS
7762306a36Sopenharmony_ci	depends on DRM && KUNIT
7862306a36Sopenharmony_ci	select PRIME_NUMBERS
7962306a36Sopenharmony_ci	select DRM_DISPLAY_DP_HELPER
8062306a36Sopenharmony_ci	select DRM_DISPLAY_HELPER
8162306a36Sopenharmony_ci	select DRM_LIB_RANDOM
8262306a36Sopenharmony_ci	select DRM_KMS_HELPER
8362306a36Sopenharmony_ci	select DRM_BUDDY
8462306a36Sopenharmony_ci	select DRM_EXPORT_FOR_TESTS if m
8562306a36Sopenharmony_ci	select DRM_KUNIT_TEST_HELPERS
8662306a36Sopenharmony_ci	select DRM_EXEC
8762306a36Sopenharmony_ci	default KUNIT_ALL_TESTS
8862306a36Sopenharmony_ci	help
8962306a36Sopenharmony_ci	  This builds unit tests for DRM. This option is not useful for
9062306a36Sopenharmony_ci	  distributions or general kernels, but only for kernel
9162306a36Sopenharmony_ci	  developers working on DRM and associated drivers.
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ci	  For more information on KUnit and unit tests in general,
9462306a36Sopenharmony_ci	  please refer to the KUnit documentation in
9562306a36Sopenharmony_ci	  Documentation/dev-tools/kunit/.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci	  If in doubt, say "N".
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ciconfig DRM_KMS_HELPER
10062306a36Sopenharmony_ci	tristate
10162306a36Sopenharmony_ci	depends on DRM
10262306a36Sopenharmony_ci	help
10362306a36Sopenharmony_ci	  CRTC helpers for KMS drivers.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ciconfig DRM_DEBUG_DP_MST_TOPOLOGY_REFS
10662306a36Sopenharmony_ci        bool "Enable refcount backtrace history in the DP MST helpers"
10762306a36Sopenharmony_ci	depends on STACKTRACE_SUPPORT
10862306a36Sopenharmony_ci        select STACKDEPOT
10962306a36Sopenharmony_ci        depends on DRM_KMS_HELPER
11062306a36Sopenharmony_ci        depends on DEBUG_KERNEL
11162306a36Sopenharmony_ci        depends on EXPERT
11262306a36Sopenharmony_ci        help
11362306a36Sopenharmony_ci          Enables debug tracing for topology refs in DRM's DP MST helpers. A
11462306a36Sopenharmony_ci          history of each topology reference/dereference will be printed to the
11562306a36Sopenharmony_ci          kernel log once a port or branch device's topology refcount reaches 0.
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci          This has the potential to use a lot of memory and print some very
11862306a36Sopenharmony_ci          large kernel messages. If in doubt, say "N".
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciconfig DRM_DEBUG_MODESET_LOCK
12162306a36Sopenharmony_ci	bool "Enable backtrace history for lock contention"
12262306a36Sopenharmony_ci	depends on STACKTRACE_SUPPORT
12362306a36Sopenharmony_ci	depends on DEBUG_KERNEL
12462306a36Sopenharmony_ci	depends on EXPERT
12562306a36Sopenharmony_ci	select STACKDEPOT
12662306a36Sopenharmony_ci	default y if DEBUG_WW_MUTEX_SLOWPATH
12762306a36Sopenharmony_ci	help
12862306a36Sopenharmony_ci	  Enable debug tracing of failures to gracefully handle drm modeset lock
12962306a36Sopenharmony_ci	  contention. A history of each drm modeset lock path hitting -EDEADLK
13062306a36Sopenharmony_ci	  will be saved until gracefully handled, and the backtrace will be
13162306a36Sopenharmony_ci	  printed when attempting to lock a contended lock.
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ci	  If in doubt, say "N".
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig DRM_FBDEV_EMULATION
13662306a36Sopenharmony_ci	bool "Enable legacy fbdev support for your modesetting driver"
13762306a36Sopenharmony_ci	depends on DRM
13862306a36Sopenharmony_ci	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
13962306a36Sopenharmony_ci	default FB
14062306a36Sopenharmony_ci	help
14162306a36Sopenharmony_ci	  Choose this option if you have a need for the legacy fbdev
14262306a36Sopenharmony_ci	  support. Note that this support also provides the linux console
14362306a36Sopenharmony_ci	  support on top of your modesetting driver.
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ci	  If in doubt, say "Y".
14662306a36Sopenharmony_ci
14762306a36Sopenharmony_ciconfig DRM_FBDEV_OVERALLOC
14862306a36Sopenharmony_ci	int "Overallocation of the fbdev buffer"
14962306a36Sopenharmony_ci	depends on DRM_FBDEV_EMULATION
15062306a36Sopenharmony_ci	default 100
15162306a36Sopenharmony_ci	help
15262306a36Sopenharmony_ci	  Defines the fbdev buffer overallocation in percent. Default
15362306a36Sopenharmony_ci	  is 100. Typical values for double buffering will be 200,
15462306a36Sopenharmony_ci	  triple buffering 300.
15562306a36Sopenharmony_ci
15662306a36Sopenharmony_ciconfig DRM_FBDEV_LEAK_PHYS_SMEM
15762306a36Sopenharmony_ci	bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
15862306a36Sopenharmony_ci	depends on DRM_FBDEV_EMULATION && EXPERT
15962306a36Sopenharmony_ci	default n
16062306a36Sopenharmony_ci	help
16162306a36Sopenharmony_ci	  In order to keep user-space compatibility, we want in certain
16262306a36Sopenharmony_ci	  use-cases to keep leaking the fbdev physical address to the
16362306a36Sopenharmony_ci	  user-space program handling the fbdev buffer.
16462306a36Sopenharmony_ci	  This affects, not only, Amlogic, Allwinner or Rockchip devices
16562306a36Sopenharmony_ci	  with ARM Mali GPUs using an userspace Blob.
16662306a36Sopenharmony_ci	  This option is not supported by upstream developers and should be
16762306a36Sopenharmony_ci	  removed as soon as possible and be considered as a broken and
16862306a36Sopenharmony_ci	  legacy behaviour from a modern fbdev device driver.
16962306a36Sopenharmony_ci
17062306a36Sopenharmony_ci	  Please send any bug reports when using this to your proprietary
17162306a36Sopenharmony_ci	  software vendor that requires this.
17262306a36Sopenharmony_ci
17362306a36Sopenharmony_ci	  If in doubt, say "N" or spread the word to your closed source
17462306a36Sopenharmony_ci	  library vendor.
17562306a36Sopenharmony_ci
17662306a36Sopenharmony_ciconfig DRM_LOAD_EDID_FIRMWARE
17762306a36Sopenharmony_ci	bool "Allow to specify an EDID data set instead of probing for it"
17862306a36Sopenharmony_ci	depends on DRM
17962306a36Sopenharmony_ci	help
18062306a36Sopenharmony_ci	  Say Y here, if you want to use EDID data to be loaded from the
18162306a36Sopenharmony_ci	  /lib/firmware directory or one of the provided built-in
18262306a36Sopenharmony_ci	  data sets. This may be necessary, if the graphics adapter or
18362306a36Sopenharmony_ci	  monitor are unable to provide appropriate EDID data. Since this
18462306a36Sopenharmony_ci	  feature is provided as a workaround for broken hardware, the
18562306a36Sopenharmony_ci	  default case is N. Details and instructions how to build your own
18662306a36Sopenharmony_ci	  EDID data are given in Documentation/admin-guide/edid.rst.
18762306a36Sopenharmony_ci
18862306a36Sopenharmony_cisource "drivers/gpu/drm/display/Kconfig"
18962306a36Sopenharmony_ci
19062306a36Sopenharmony_ciconfig DRM_TTM
19162306a36Sopenharmony_ci	tristate
19262306a36Sopenharmony_ci	depends on DRM && MMU
19362306a36Sopenharmony_ci	help
19462306a36Sopenharmony_ci	  GPU memory management subsystem for devices with multiple
19562306a36Sopenharmony_ci	  GPU memory types. Will be enabled automatically if a device driver
19662306a36Sopenharmony_ci	  uses it.
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ciconfig DRM_TTM_KUNIT_TEST
19962306a36Sopenharmony_ci        tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS
20062306a36Sopenharmony_ci        default n
20162306a36Sopenharmony_ci        depends on DRM && KUNIT && MMU && (UML || COMPILE_TEST)
20262306a36Sopenharmony_ci        select DRM_TTM
20362306a36Sopenharmony_ci        select DRM_EXPORT_FOR_TESTS if m
20462306a36Sopenharmony_ci        select DRM_KUNIT_TEST_HELPERS
20562306a36Sopenharmony_ci        default KUNIT_ALL_TESTS
20662306a36Sopenharmony_ci        help
20762306a36Sopenharmony_ci          Enables unit tests for TTM, a GPU memory manager subsystem used
20862306a36Sopenharmony_ci          to manage memory buffers. This option is mostly useful for kernel
20962306a36Sopenharmony_ci          developers. It depends on (UML || COMPILE_TEST) since no other driver
21062306a36Sopenharmony_ci          which uses TTM can be loaded while running the tests.
21162306a36Sopenharmony_ci
21262306a36Sopenharmony_ci          If in doubt, say "N".
21362306a36Sopenharmony_ci
21462306a36Sopenharmony_ciconfig DRM_EXEC
21562306a36Sopenharmony_ci	tristate
21662306a36Sopenharmony_ci	depends on DRM
21762306a36Sopenharmony_ci	help
21862306a36Sopenharmony_ci	  Execution context for command submissions
21962306a36Sopenharmony_ci
22062306a36Sopenharmony_ciconfig DRM_BUDDY
22162306a36Sopenharmony_ci	tristate
22262306a36Sopenharmony_ci	depends on DRM
22362306a36Sopenharmony_ci	help
22462306a36Sopenharmony_ci	  A page based buddy allocator
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ciconfig DRM_VRAM_HELPER
22762306a36Sopenharmony_ci	tristate
22862306a36Sopenharmony_ci	depends on DRM
22962306a36Sopenharmony_ci	help
23062306a36Sopenharmony_ci	  Helpers for VRAM memory management
23162306a36Sopenharmony_ci
23262306a36Sopenharmony_ciconfig DRM_TTM_HELPER
23362306a36Sopenharmony_ci	tristate
23462306a36Sopenharmony_ci	depends on DRM
23562306a36Sopenharmony_ci	select DRM_TTM
23662306a36Sopenharmony_ci	help
23762306a36Sopenharmony_ci	  Helpers for ttm-based gem objects
23862306a36Sopenharmony_ci
23962306a36Sopenharmony_ciconfig DRM_GEM_DMA_HELPER
24062306a36Sopenharmony_ci	tristate
24162306a36Sopenharmony_ci	depends on DRM
24262306a36Sopenharmony_ci	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
24362306a36Sopenharmony_ci	help
24462306a36Sopenharmony_ci	  Choose this if you need the GEM DMA helper functions
24562306a36Sopenharmony_ci
24662306a36Sopenharmony_ciconfig DRM_GEM_SHMEM_HELPER
24762306a36Sopenharmony_ci	tristate
24862306a36Sopenharmony_ci	depends on DRM && MMU
24962306a36Sopenharmony_ci	help
25062306a36Sopenharmony_ci	  Choose this if you need the GEM shmem helper functions
25162306a36Sopenharmony_ci
25262306a36Sopenharmony_ciconfig DRM_SUBALLOC_HELPER
25362306a36Sopenharmony_ci	tristate
25462306a36Sopenharmony_ci	depends on DRM
25562306a36Sopenharmony_ci
25662306a36Sopenharmony_ciconfig DRM_SCHED
25762306a36Sopenharmony_ci	tristate
25862306a36Sopenharmony_ci	depends on DRM
25962306a36Sopenharmony_ci
26062306a36Sopenharmony_cisource "drivers/gpu/drm/i2c/Kconfig"
26162306a36Sopenharmony_ci
26262306a36Sopenharmony_cisource "drivers/gpu/drm/arm/Kconfig"
26362306a36Sopenharmony_ci
26462306a36Sopenharmony_cisource "drivers/gpu/drm/radeon/Kconfig"
26562306a36Sopenharmony_ci
26662306a36Sopenharmony_cisource "drivers/gpu/drm/amd/amdgpu/Kconfig"
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_cisource "drivers/gpu/drm/nouveau/Kconfig"
26962306a36Sopenharmony_ci
27062306a36Sopenharmony_cisource "drivers/gpu/drm/i915/Kconfig"
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_cisource "drivers/gpu/drm/kmb/Kconfig"
27362306a36Sopenharmony_ci
27462306a36Sopenharmony_ciconfig DRM_VGEM
27562306a36Sopenharmony_ci	tristate "Virtual GEM provider"
27662306a36Sopenharmony_ci	depends on DRM && MMU
27762306a36Sopenharmony_ci	select DRM_GEM_SHMEM_HELPER
27862306a36Sopenharmony_ci	help
27962306a36Sopenharmony_ci	  Choose this option to get a virtual graphics memory manager,
28062306a36Sopenharmony_ci	  as used by Mesa's software renderer for enhanced performance.
28162306a36Sopenharmony_ci	  If M is selected the module will be called vgem.
28262306a36Sopenharmony_ci
28362306a36Sopenharmony_ciconfig DRM_VKMS
28462306a36Sopenharmony_ci	tristate "Virtual KMS (EXPERIMENTAL)"
28562306a36Sopenharmony_ci	depends on DRM && MMU
28662306a36Sopenharmony_ci	select DRM_KMS_HELPER
28762306a36Sopenharmony_ci	select DRM_GEM_SHMEM_HELPER
28862306a36Sopenharmony_ci	select CRC32
28962306a36Sopenharmony_ci	default n
29062306a36Sopenharmony_ci	help
29162306a36Sopenharmony_ci	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for
29262306a36Sopenharmony_ci	  running GPU in a headless machines. Choose this option to get
29362306a36Sopenharmony_ci	  a VKMS.
29462306a36Sopenharmony_ci
29562306a36Sopenharmony_ci	  If M is selected the module will be called vkms.
29662306a36Sopenharmony_ci
29762306a36Sopenharmony_cisource "drivers/gpu/drm/exynos/Kconfig"
29862306a36Sopenharmony_ci
29962306a36Sopenharmony_cisource "drivers/gpu/drm/rockchip/Kconfig"
30062306a36Sopenharmony_ci
30162306a36Sopenharmony_cisource "drivers/gpu/drm/vmwgfx/Kconfig"
30262306a36Sopenharmony_ci
30362306a36Sopenharmony_cisource "drivers/gpu/drm/gma500/Kconfig"
30462306a36Sopenharmony_ci
30562306a36Sopenharmony_cisource "drivers/gpu/drm/udl/Kconfig"
30662306a36Sopenharmony_ci
30762306a36Sopenharmony_cisource "drivers/gpu/drm/ast/Kconfig"
30862306a36Sopenharmony_ci
30962306a36Sopenharmony_cisource "drivers/gpu/drm/mgag200/Kconfig"
31062306a36Sopenharmony_ci
31162306a36Sopenharmony_cisource "drivers/gpu/drm/armada/Kconfig"
31262306a36Sopenharmony_ci
31362306a36Sopenharmony_cisource "drivers/gpu/drm/atmel-hlcdc/Kconfig"
31462306a36Sopenharmony_ci
31562306a36Sopenharmony_cisource "drivers/gpu/drm/renesas/Kconfig"
31662306a36Sopenharmony_ci
31762306a36Sopenharmony_cisource "drivers/gpu/drm/sun4i/Kconfig"
31862306a36Sopenharmony_ci
31962306a36Sopenharmony_cisource "drivers/gpu/drm/omapdrm/Kconfig"
32062306a36Sopenharmony_ci
32162306a36Sopenharmony_cisource "drivers/gpu/drm/tilcdc/Kconfig"
32262306a36Sopenharmony_ci
32362306a36Sopenharmony_cisource "drivers/gpu/drm/qxl/Kconfig"
32462306a36Sopenharmony_ci
32562306a36Sopenharmony_cisource "drivers/gpu/drm/virtio/Kconfig"
32662306a36Sopenharmony_ci
32762306a36Sopenharmony_cisource "drivers/gpu/drm/msm/Kconfig"
32862306a36Sopenharmony_ci
32962306a36Sopenharmony_cisource "drivers/gpu/drm/fsl-dcu/Kconfig"
33062306a36Sopenharmony_ci
33162306a36Sopenharmony_cisource "drivers/gpu/drm/tegra/Kconfig"
33262306a36Sopenharmony_ci
33362306a36Sopenharmony_cisource "drivers/gpu/drm/stm/Kconfig"
33462306a36Sopenharmony_ci
33562306a36Sopenharmony_cisource "drivers/gpu/drm/panel/Kconfig"
33662306a36Sopenharmony_ci
33762306a36Sopenharmony_cisource "drivers/gpu/drm/bridge/Kconfig"
33862306a36Sopenharmony_ci
33962306a36Sopenharmony_cisource "drivers/gpu/drm/sti/Kconfig"
34062306a36Sopenharmony_ci
34162306a36Sopenharmony_cisource "drivers/gpu/drm/imx/Kconfig"
34262306a36Sopenharmony_ci
34362306a36Sopenharmony_cisource "drivers/gpu/drm/ingenic/Kconfig"
34462306a36Sopenharmony_ci
34562306a36Sopenharmony_cisource "drivers/gpu/drm/v3d/Kconfig"
34662306a36Sopenharmony_ci
34762306a36Sopenharmony_cisource "drivers/gpu/drm/vc4/Kconfig"
34862306a36Sopenharmony_ci
34962306a36Sopenharmony_cisource "drivers/gpu/drm/loongson/Kconfig"
35062306a36Sopenharmony_ci
35162306a36Sopenharmony_cisource "drivers/gpu/drm/etnaviv/Kconfig"
35262306a36Sopenharmony_ci
35362306a36Sopenharmony_cisource "drivers/gpu/drm/hisilicon/Kconfig"
35462306a36Sopenharmony_ci
35562306a36Sopenharmony_cisource "drivers/gpu/drm/logicvc/Kconfig"
35662306a36Sopenharmony_ci
35762306a36Sopenharmony_cisource "drivers/gpu/drm/mediatek/Kconfig"
35862306a36Sopenharmony_ci
35962306a36Sopenharmony_cisource "drivers/gpu/drm/mxsfb/Kconfig"
36062306a36Sopenharmony_ci
36162306a36Sopenharmony_cisource "drivers/gpu/drm/meson/Kconfig"
36262306a36Sopenharmony_ci
36362306a36Sopenharmony_cisource "drivers/gpu/drm/tiny/Kconfig"
36462306a36Sopenharmony_ci
36562306a36Sopenharmony_cisource "drivers/gpu/drm/pl111/Kconfig"
36662306a36Sopenharmony_ci
36762306a36Sopenharmony_cisource "drivers/gpu/drm/tve200/Kconfig"
36862306a36Sopenharmony_ci
36962306a36Sopenharmony_cisource "drivers/gpu/drm/xen/Kconfig"
37062306a36Sopenharmony_ci
37162306a36Sopenharmony_cisource "drivers/gpu/drm/vboxvideo/Kconfig"
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_cisource "drivers/gpu/drm/lima/Kconfig"
37462306a36Sopenharmony_ci
37562306a36Sopenharmony_cisource "drivers/gpu/drm/panfrost/Kconfig"
37662306a36Sopenharmony_ci
37762306a36Sopenharmony_cisource "drivers/gpu/drm/aspeed/Kconfig"
37862306a36Sopenharmony_ci
37962306a36Sopenharmony_cisource "drivers/gpu/drm/mcde/Kconfig"
38062306a36Sopenharmony_ci
38162306a36Sopenharmony_cisource "drivers/gpu/drm/tidss/Kconfig"
38262306a36Sopenharmony_ci
38362306a36Sopenharmony_cisource "drivers/gpu/drm/xlnx/Kconfig"
38462306a36Sopenharmony_ci
38562306a36Sopenharmony_cisource "drivers/gpu/drm/gud/Kconfig"
38662306a36Sopenharmony_ci
38762306a36Sopenharmony_cisource "drivers/gpu/drm/solomon/Kconfig"
38862306a36Sopenharmony_ci
38962306a36Sopenharmony_cisource "drivers/gpu/drm/sprd/Kconfig"
39062306a36Sopenharmony_ci
39162306a36Sopenharmony_ciconfig DRM_HYPERV
39262306a36Sopenharmony_ci	tristate "DRM Support for Hyper-V synthetic video device"
39362306a36Sopenharmony_ci	depends on DRM && PCI && MMU && HYPERV
39462306a36Sopenharmony_ci	select DRM_KMS_HELPER
39562306a36Sopenharmony_ci	select DRM_GEM_SHMEM_HELPER
39662306a36Sopenharmony_ci	help
39762306a36Sopenharmony_ci	 This is a KMS driver for Hyper-V synthetic video device. Choose this
39862306a36Sopenharmony_ci	 option if you would like to enable drm driver for Hyper-V virtual
39962306a36Sopenharmony_ci	 machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
40062306a36Sopenharmony_ci	 that DRM driver is used by default.
40162306a36Sopenharmony_ci
40262306a36Sopenharmony_ci	 If M is selected the module will be called hyperv_drm.
40362306a36Sopenharmony_ci
40462306a36Sopenharmony_ci# Keep legacy drivers last
40562306a36Sopenharmony_ci
40662306a36Sopenharmony_cimenuconfig DRM_LEGACY
40762306a36Sopenharmony_ci	bool "Enable legacy drivers (DANGEROUS)"
40862306a36Sopenharmony_ci	depends on DRM && MMU
40962306a36Sopenharmony_ci	help
41062306a36Sopenharmony_ci	  Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
41162306a36Sopenharmony_ci	  APIs to user-space, which can be used to circumvent access
41262306a36Sopenharmony_ci	  restrictions and other security measures. For backwards compatibility
41362306a36Sopenharmony_ci	  those drivers are still available, but their use is highly
41462306a36Sopenharmony_ci	  inadvisable and might harm your system.
41562306a36Sopenharmony_ci
41662306a36Sopenharmony_ci	  You are recommended to use the safe modeset-only drivers instead, and
41762306a36Sopenharmony_ci	  perform 3D emulation in user-space.
41862306a36Sopenharmony_ci
41962306a36Sopenharmony_ci	  Unless you have strong reasons to go rogue, say "N".
42062306a36Sopenharmony_ci
42162306a36Sopenharmony_ciif DRM_LEGACY
42262306a36Sopenharmony_ci# leave here to list legacy drivers
42362306a36Sopenharmony_ciendif # DRM_LEGACY
42462306a36Sopenharmony_ci
42562306a36Sopenharmony_ciconfig DRM_EXPORT_FOR_TESTS
42662306a36Sopenharmony_ci	bool
42762306a36Sopenharmony_ci
42862306a36Sopenharmony_ci# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
42962306a36Sopenharmony_ciconfig DRM_PANEL_ORIENTATION_QUIRKS
43062306a36Sopenharmony_ci	tristate
43162306a36Sopenharmony_ci
43262306a36Sopenharmony_ciconfig DRM_LIB_RANDOM
43362306a36Sopenharmony_ci	bool
43462306a36Sopenharmony_ci	default n
43562306a36Sopenharmony_ci
43662306a36Sopenharmony_ciconfig DRM_PRIVACY_SCREEN
43762306a36Sopenharmony_ci	bool
43862306a36Sopenharmony_ci	default n
439