18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Drm device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci# This driver provides support for the
68c2ecf20Sopenharmony_ci# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
78c2ecf20Sopenharmony_ci#
88c2ecf20Sopenharmony_cimenuconfig DRM
98c2ecf20Sopenharmony_ci	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
108c2ecf20Sopenharmony_ci	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
118c2ecf20Sopenharmony_ci	select DRM_PANEL_ORIENTATION_QUIRKS
128c2ecf20Sopenharmony_ci	select HDMI
138c2ecf20Sopenharmony_ci	select FB_CMDLINE
148c2ecf20Sopenharmony_ci	select I2C
158c2ecf20Sopenharmony_ci	select I2C_ALGOBIT
168c2ecf20Sopenharmony_ci	select DMA_SHARED_BUFFER
178c2ecf20Sopenharmony_ci	select SYNC_FILE
188c2ecf20Sopenharmony_ci# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
198c2ecf20Sopenharmony_ci# device and dmabuf fd. Let's make sure that is available for our userspace.
208c2ecf20Sopenharmony_ci	select KCMP
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
238c2ecf20Sopenharmony_ci	  introduced in XFree86 4.0. If you say Y here, you need to select
248c2ecf20Sopenharmony_ci	  the module that's right for your graphics card from the list below.
258c2ecf20Sopenharmony_ci	  These modules provide support for synchronization, security, and
268c2ecf20Sopenharmony_ci	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
278c2ecf20Sopenharmony_ci	  details.  You should also select and configure AGP
288c2ecf20Sopenharmony_ci	  (/dev/agpgart) support if it is available for your platform.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig DRM_MIPI_DBI
318c2ecf20Sopenharmony_ci	tristate
328c2ecf20Sopenharmony_ci	depends on DRM
338c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig DRM_MIPI_DSI
368c2ecf20Sopenharmony_ci	bool
378c2ecf20Sopenharmony_ci	depends on DRM
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig DRM_DP_AUX_CHARDEV
408c2ecf20Sopenharmony_ci	bool "DRM DP AUX Interface"
418c2ecf20Sopenharmony_ci	depends on DRM
428c2ecf20Sopenharmony_ci	help
438c2ecf20Sopenharmony_ci	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
448c2ecf20Sopenharmony_ci	  read and write values to arbitrary DPCD registers on the DP aux
458c2ecf20Sopenharmony_ci	  channel.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig DRM_DEBUG_MM
488c2ecf20Sopenharmony_ci	bool "Insert extra checks and debug info into the DRM range managers"
498c2ecf20Sopenharmony_ci	default n
508c2ecf20Sopenharmony_ci	depends on DRM=y
518c2ecf20Sopenharmony_ci	depends on STACKTRACE_SUPPORT
528c2ecf20Sopenharmony_ci	select STACKDEPOT
538c2ecf20Sopenharmony_ci	help
548c2ecf20Sopenharmony_ci	  Enable allocation tracking of memory manager and leak detection on
558c2ecf20Sopenharmony_ci	  shutdown.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci	  Recommended for driver developers only.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci	  If in doubt, say "N".
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig DRM_DEBUG_SELFTEST
628c2ecf20Sopenharmony_ci	tristate "kselftests for DRM"
638c2ecf20Sopenharmony_ci	depends on DRM
648c2ecf20Sopenharmony_ci	depends on DEBUG_KERNEL
658c2ecf20Sopenharmony_ci	select PRIME_NUMBERS
668c2ecf20Sopenharmony_ci	select DRM_LIB_RANDOM
678c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
688c2ecf20Sopenharmony_ci	select DRM_EXPORT_FOR_TESTS if m
698c2ecf20Sopenharmony_ci	default n
708c2ecf20Sopenharmony_ci	help
718c2ecf20Sopenharmony_ci	  This option provides kernel modules that can be used to run
728c2ecf20Sopenharmony_ci	  various selftests on parts of the DRM api. This option is not
738c2ecf20Sopenharmony_ci	  useful for distributions or general kernels, but only for kernel
748c2ecf20Sopenharmony_ci	  developers working on DRM and associated drivers.
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci	  If in doubt, say "N".
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ciconfig DRM_KMS_HELPER
798c2ecf20Sopenharmony_ci	tristate
808c2ecf20Sopenharmony_ci	depends on DRM
818c2ecf20Sopenharmony_ci	help
828c2ecf20Sopenharmony_ci	  CRTC helpers for KMS drivers.
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ciconfig DRM_KMS_FB_HELPER
858c2ecf20Sopenharmony_ci	bool
868c2ecf20Sopenharmony_ci	depends on DRM_KMS_HELPER
878c2ecf20Sopenharmony_ci	select FB
888c2ecf20Sopenharmony_ci	select FRAMEBUFFER_CONSOLE if !EXPERT
898c2ecf20Sopenharmony_ci	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
908c2ecf20Sopenharmony_ci	select FB_SYS_FOPS
918c2ecf20Sopenharmony_ci	select FB_SYS_FILLRECT
928c2ecf20Sopenharmony_ci	select FB_SYS_COPYAREA
938c2ecf20Sopenharmony_ci	select FB_SYS_IMAGEBLIT
948c2ecf20Sopenharmony_ci	select FB_CFB_FILLRECT
958c2ecf20Sopenharmony_ci	select FB_CFB_COPYAREA
968c2ecf20Sopenharmony_ci	select FB_CFB_IMAGEBLIT
978c2ecf20Sopenharmony_ci	select FB_DEFERRED_IO
988c2ecf20Sopenharmony_ci	help
998c2ecf20Sopenharmony_ci	  FBDEV helpers for KMS drivers.
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciconfig DRM_DEBUG_DP_MST_TOPOLOGY_REFS
1028c2ecf20Sopenharmony_ci        bool "Enable refcount backtrace history in the DP MST helpers"
1038c2ecf20Sopenharmony_ci	depends on STACKTRACE_SUPPORT
1048c2ecf20Sopenharmony_ci        select STACKDEPOT
1058c2ecf20Sopenharmony_ci        depends on DRM_KMS_HELPER
1068c2ecf20Sopenharmony_ci        depends on DEBUG_KERNEL
1078c2ecf20Sopenharmony_ci        depends on EXPERT
1088c2ecf20Sopenharmony_ci        help
1098c2ecf20Sopenharmony_ci          Enables debug tracing for topology refs in DRM's DP MST helpers. A
1108c2ecf20Sopenharmony_ci          history of each topology reference/dereference will be printed to the
1118c2ecf20Sopenharmony_ci          kernel log once a port or branch device's topology refcount reaches 0.
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ci          This has the potential to use a lot of memory and print some very
1148c2ecf20Sopenharmony_ci          large kernel messages. If in doubt, say "N".
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ciconfig DRM_FBDEV_EMULATION
1178c2ecf20Sopenharmony_ci	bool "Enable legacy fbdev support for your modesetting driver"
1188c2ecf20Sopenharmony_ci	depends on DRM
1198c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
1208c2ecf20Sopenharmony_ci	select DRM_KMS_FB_HELPER
1218c2ecf20Sopenharmony_ci	default y
1228c2ecf20Sopenharmony_ci	help
1238c2ecf20Sopenharmony_ci	  Choose this option if you have a need for the legacy fbdev
1248c2ecf20Sopenharmony_ci	  support. Note that this support also provides the linux console
1258c2ecf20Sopenharmony_ci	  support on top of your modesetting driver.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci	  If in doubt, say "Y".
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ciconfig DRM_FBDEV_OVERALLOC
1308c2ecf20Sopenharmony_ci	int "Overallocation of the fbdev buffer"
1318c2ecf20Sopenharmony_ci	depends on DRM_FBDEV_EMULATION
1328c2ecf20Sopenharmony_ci	default 100
1338c2ecf20Sopenharmony_ci	help
1348c2ecf20Sopenharmony_ci	  Defines the fbdev buffer overallocation in percent. Default
1358c2ecf20Sopenharmony_ci	  is 100. Typical values for double buffering will be 200,
1368c2ecf20Sopenharmony_ci	  triple buffering 300.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciconfig DRM_FBDEV_LEAK_PHYS_SMEM
1398c2ecf20Sopenharmony_ci	bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
1408c2ecf20Sopenharmony_ci	depends on DRM_FBDEV_EMULATION && EXPERT
1418c2ecf20Sopenharmony_ci	default n
1428c2ecf20Sopenharmony_ci	help
1438c2ecf20Sopenharmony_ci	  In order to keep user-space compatibility, we want in certain
1448c2ecf20Sopenharmony_ci	  use-cases to keep leaking the fbdev physical address to the
1458c2ecf20Sopenharmony_ci	  user-space program handling the fbdev buffer.
1468c2ecf20Sopenharmony_ci	  This affects, not only, Amlogic, Allwinner or Rockchip devices
1478c2ecf20Sopenharmony_ci	  with ARM Mali GPUs using an userspace Blob.
1488c2ecf20Sopenharmony_ci	  This option is not supported by upstream developers and should be
1498c2ecf20Sopenharmony_ci	  removed as soon as possible and be considered as a broken and
1508c2ecf20Sopenharmony_ci	  legacy behaviour from a modern fbdev device driver.
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci	  Please send any bug reports when using this to your proprietary
1538c2ecf20Sopenharmony_ci	  software vendor that requires this.
1548c2ecf20Sopenharmony_ci
1558c2ecf20Sopenharmony_ci	  If in doubt, say "N" or spread the word to your closed source
1568c2ecf20Sopenharmony_ci	  library vendor.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciconfig DRM_LOAD_EDID_FIRMWARE
1598c2ecf20Sopenharmony_ci	bool "Allow to specify an EDID data set instead of probing for it"
1608c2ecf20Sopenharmony_ci	depends on DRM
1618c2ecf20Sopenharmony_ci	help
1628c2ecf20Sopenharmony_ci	  Say Y here, if you want to use EDID data to be loaded from the
1638c2ecf20Sopenharmony_ci	  /lib/firmware directory or one of the provided built-in
1648c2ecf20Sopenharmony_ci	  data sets. This may be necessary, if the graphics adapter or
1658c2ecf20Sopenharmony_ci	  monitor are unable to provide appropriate EDID data. Since this
1668c2ecf20Sopenharmony_ci	  feature is provided as a workaround for broken hardware, the
1678c2ecf20Sopenharmony_ci	  default case is N. Details and instructions how to build your own
1688c2ecf20Sopenharmony_ci	  EDID data are given in Documentation/admin-guide/edid.rst.
1698c2ecf20Sopenharmony_ci
1708c2ecf20Sopenharmony_ciconfig DRM_DP_CEC
1718c2ecf20Sopenharmony_ci	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
1728c2ecf20Sopenharmony_ci	depends on DRM
1738c2ecf20Sopenharmony_ci	select CEC_CORE
1748c2ecf20Sopenharmony_ci	help
1758c2ecf20Sopenharmony_ci	  Choose this option if you want to enable HDMI CEC support for
1768c2ecf20Sopenharmony_ci	  DisplayPort/USB-C to HDMI adapters.
1778c2ecf20Sopenharmony_ci
1788c2ecf20Sopenharmony_ci	  Note: not all adapters support this feature, and even for those
1798c2ecf20Sopenharmony_ci	  that do support this they often do not hook up the CEC pin.
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ciconfig DRM_TTM
1828c2ecf20Sopenharmony_ci	tristate
1838c2ecf20Sopenharmony_ci	depends on DRM && MMU
1848c2ecf20Sopenharmony_ci	help
1858c2ecf20Sopenharmony_ci	  GPU memory management subsystem for devices with multiple
1868c2ecf20Sopenharmony_ci	  GPU memory types. Will be enabled automatically if a device driver
1878c2ecf20Sopenharmony_ci	  uses it.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ciconfig DRM_TTM_DMA_PAGE_POOL
1908c2ecf20Sopenharmony_ci	bool
1918c2ecf20Sopenharmony_ci	depends on DRM_TTM && (SWIOTLB || INTEL_IOMMU)
1928c2ecf20Sopenharmony_ci	default y
1938c2ecf20Sopenharmony_ci	help
1948c2ecf20Sopenharmony_ci	  Choose this if you need the TTM dma page pool
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ciconfig DRM_VRAM_HELPER
1978c2ecf20Sopenharmony_ci	tristate
1988c2ecf20Sopenharmony_ci	depends on DRM
1998c2ecf20Sopenharmony_ci	help
2008c2ecf20Sopenharmony_ci	  Helpers for VRAM memory management
2018c2ecf20Sopenharmony_ci
2028c2ecf20Sopenharmony_ciconfig DRM_TTM_HELPER
2038c2ecf20Sopenharmony_ci	tristate
2048c2ecf20Sopenharmony_ci	depends on DRM
2058c2ecf20Sopenharmony_ci	select DRM_TTM
2068c2ecf20Sopenharmony_ci	help
2078c2ecf20Sopenharmony_ci	  Helpers for ttm-based gem objects
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ciconfig DRM_GEM_CMA_HELPER
2108c2ecf20Sopenharmony_ci	bool
2118c2ecf20Sopenharmony_ci	depends on DRM
2128c2ecf20Sopenharmony_ci	help
2138c2ecf20Sopenharmony_ci	  Choose this if you need the GEM CMA helper functions
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ciconfig DRM_KMS_CMA_HELPER
2168c2ecf20Sopenharmony_ci	bool
2178c2ecf20Sopenharmony_ci	depends on DRM
2188c2ecf20Sopenharmony_ci	select DRM_GEM_CMA_HELPER
2198c2ecf20Sopenharmony_ci	help
2208c2ecf20Sopenharmony_ci	  Choose this if you need the KMS CMA helper functions
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ciconfig DRM_GEM_SHMEM_HELPER
2238c2ecf20Sopenharmony_ci	bool
2248c2ecf20Sopenharmony_ci	depends on DRM
2258c2ecf20Sopenharmony_ci	help
2268c2ecf20Sopenharmony_ci	  Choose this if you need the GEM shmem helper functions
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ciconfig DRM_VM
2298c2ecf20Sopenharmony_ci	bool
2308c2ecf20Sopenharmony_ci	depends on DRM && MMU
2318c2ecf20Sopenharmony_ci
2328c2ecf20Sopenharmony_ciconfig DRM_SCHED
2338c2ecf20Sopenharmony_ci	tristate
2348c2ecf20Sopenharmony_ci	depends on DRM
2358c2ecf20Sopenharmony_ci
2368c2ecf20Sopenharmony_cisource "drivers/gpu/drm/i2c/Kconfig"
2378c2ecf20Sopenharmony_ci
2388c2ecf20Sopenharmony_cisource "drivers/gpu/drm/arm/Kconfig"
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ciconfig DRM_RADEON
2418c2ecf20Sopenharmony_ci	tristate "ATI Radeon"
2428c2ecf20Sopenharmony_ci	depends on DRM && PCI && MMU
2438c2ecf20Sopenharmony_ci	depends on AGP || !AGP
2448c2ecf20Sopenharmony_ci	select FW_LOADER
2458c2ecf20Sopenharmony_ci        select DRM_KMS_HELPER
2468c2ecf20Sopenharmony_ci        select DRM_TTM
2478c2ecf20Sopenharmony_ci	select POWER_SUPPLY
2488c2ecf20Sopenharmony_ci	select HWMON
2498c2ecf20Sopenharmony_ci	select BACKLIGHT_CLASS_DEVICE
2508c2ecf20Sopenharmony_ci	select INTERVAL_TREE
2518c2ecf20Sopenharmony_ci	help
2528c2ecf20Sopenharmony_ci	  Choose this option if you have an ATI Radeon graphics card.  There
2538c2ecf20Sopenharmony_ci	  are both PCI and AGP versions.  You don't need to choose this to
2548c2ecf20Sopenharmony_ci	  run the Radeon in plain VGA mode.
2558c2ecf20Sopenharmony_ci
2568c2ecf20Sopenharmony_ci	  If M is selected, the module will be called radeon.
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_cisource "drivers/gpu/drm/radeon/Kconfig"
2598c2ecf20Sopenharmony_ci
2608c2ecf20Sopenharmony_ciconfig DRM_AMDGPU
2618c2ecf20Sopenharmony_ci	tristate "AMD GPU"
2628c2ecf20Sopenharmony_ci	depends on DRM && PCI && MMU
2638c2ecf20Sopenharmony_ci	select FW_LOADER
2648c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
2658c2ecf20Sopenharmony_ci	select DRM_SCHED
2668c2ecf20Sopenharmony_ci	select DRM_TTM
2678c2ecf20Sopenharmony_ci	select POWER_SUPPLY
2688c2ecf20Sopenharmony_ci	select HWMON
2698c2ecf20Sopenharmony_ci	select BACKLIGHT_CLASS_DEVICE
2708c2ecf20Sopenharmony_ci	select INTERVAL_TREE
2718c2ecf20Sopenharmony_ci	select CHASH
2728c2ecf20Sopenharmony_ci	help
2738c2ecf20Sopenharmony_ci	  Choose this option if you have a recent AMD Radeon graphics card.
2748c2ecf20Sopenharmony_ci
2758c2ecf20Sopenharmony_ci	  If M is selected, the module will be called amdgpu.
2768c2ecf20Sopenharmony_ci
2778c2ecf20Sopenharmony_cisource "drivers/gpu/drm/amd/amdgpu/Kconfig"
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_cisource "drivers/gpu/drm/nouveau/Kconfig"
2808c2ecf20Sopenharmony_ci
2818c2ecf20Sopenharmony_cisource "drivers/gpu/drm/i915/Kconfig"
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_ciconfig DRM_VGEM
2848c2ecf20Sopenharmony_ci	tristate "Virtual GEM provider"
2858c2ecf20Sopenharmony_ci	depends on DRM
2868c2ecf20Sopenharmony_ci	help
2878c2ecf20Sopenharmony_ci	  Choose this option to get a virtual graphics memory manager,
2888c2ecf20Sopenharmony_ci	  as used by Mesa's software renderer for enhanced performance.
2898c2ecf20Sopenharmony_ci	  If M is selected the module will be called vgem.
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ciconfig DRM_VKMS
2928c2ecf20Sopenharmony_ci	tristate "Virtual KMS (EXPERIMENTAL)"
2938c2ecf20Sopenharmony_ci	depends on DRM
2948c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
2958c2ecf20Sopenharmony_ci	select CRC32
2968c2ecf20Sopenharmony_ci	default n
2978c2ecf20Sopenharmony_ci	help
2988c2ecf20Sopenharmony_ci	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for
2998c2ecf20Sopenharmony_ci	  running GPU in a headless machines. Choose this option to get
3008c2ecf20Sopenharmony_ci	  a VKMS.
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ci	  If M is selected the module will be called vkms.
3038c2ecf20Sopenharmony_ci
3048c2ecf20Sopenharmony_cisource "drivers/gpu/drm/exynos/Kconfig"
3058c2ecf20Sopenharmony_ci
3068c2ecf20Sopenharmony_cisource "drivers/gpu/drm/rockchip/Kconfig"
3078c2ecf20Sopenharmony_ci
3088c2ecf20Sopenharmony_cisource "drivers/gpu/drm/vmwgfx/Kconfig"
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_cisource "drivers/gpu/drm/gma500/Kconfig"
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_cisource "drivers/gpu/drm/udl/Kconfig"
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_cisource "drivers/gpu/drm/ast/Kconfig"
3158c2ecf20Sopenharmony_ci
3168c2ecf20Sopenharmony_cisource "drivers/gpu/drm/loongson/Kconfig"
3178c2ecf20Sopenharmony_ci
3188c2ecf20Sopenharmony_cisource "drivers/gpu/drm/mgag200/Kconfig"
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_cisource "drivers/gpu/drm/armada/Kconfig"
3218c2ecf20Sopenharmony_ci
3228c2ecf20Sopenharmony_cisource "drivers/gpu/drm/atmel-hlcdc/Kconfig"
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_cisource "drivers/gpu/drm/rcar-du/Kconfig"
3258c2ecf20Sopenharmony_ci
3268c2ecf20Sopenharmony_cisource "drivers/gpu/drm/shmobile/Kconfig"
3278c2ecf20Sopenharmony_ci
3288c2ecf20Sopenharmony_cisource "drivers/gpu/drm/sun4i/Kconfig"
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_cisource "drivers/gpu/drm/omapdrm/Kconfig"
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_cisource "drivers/gpu/drm/tilcdc/Kconfig"
3338c2ecf20Sopenharmony_ci
3348c2ecf20Sopenharmony_cisource "drivers/gpu/drm/qxl/Kconfig"
3358c2ecf20Sopenharmony_ci
3368c2ecf20Sopenharmony_cisource "drivers/gpu/drm/bochs/Kconfig"
3378c2ecf20Sopenharmony_ci
3388c2ecf20Sopenharmony_cisource "drivers/gpu/drm/virtio/Kconfig"
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_cisource "drivers/gpu/drm/msm/Kconfig"
3418c2ecf20Sopenharmony_ci
3428c2ecf20Sopenharmony_cisource "drivers/gpu/drm/fsl-dcu/Kconfig"
3438c2ecf20Sopenharmony_ci
3448c2ecf20Sopenharmony_cisource "drivers/gpu/drm/tegra/Kconfig"
3458c2ecf20Sopenharmony_ci
3468c2ecf20Sopenharmony_cisource "drivers/gpu/drm/stm/Kconfig"
3478c2ecf20Sopenharmony_ci
3488c2ecf20Sopenharmony_cisource "drivers/gpu/drm/panel/Kconfig"
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_cisource "drivers/gpu/drm/bridge/Kconfig"
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_cisource "drivers/gpu/drm/sti/Kconfig"
3538c2ecf20Sopenharmony_ci
3548c2ecf20Sopenharmony_cisource "drivers/gpu/drm/imx/Kconfig"
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_cisource "drivers/gpu/drm/ingenic/Kconfig"
3578c2ecf20Sopenharmony_ci
3588c2ecf20Sopenharmony_cisource "drivers/gpu/drm/v3d/Kconfig"
3598c2ecf20Sopenharmony_ci
3608c2ecf20Sopenharmony_cisource "drivers/gpu/drm/vc4/Kconfig"
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_cisource "drivers/gpu/drm/etnaviv/Kconfig"
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_cisource "drivers/gpu/drm/arc/Kconfig"
3658c2ecf20Sopenharmony_ci
3668c2ecf20Sopenharmony_cisource "drivers/gpu/drm/hisilicon/Kconfig"
3678c2ecf20Sopenharmony_ci
3688c2ecf20Sopenharmony_cisource "drivers/gpu/drm/mediatek/Kconfig"
3698c2ecf20Sopenharmony_ci
3708c2ecf20Sopenharmony_cisource "drivers/gpu/drm/zte/Kconfig"
3718c2ecf20Sopenharmony_ci
3728c2ecf20Sopenharmony_cisource "drivers/gpu/drm/mxsfb/Kconfig"
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_cisource "drivers/gpu/drm/meson/Kconfig"
3758c2ecf20Sopenharmony_ci
3768c2ecf20Sopenharmony_cisource "drivers/gpu/drm/tiny/Kconfig"
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_cisource "drivers/gpu/drm/pl111/Kconfig"
3798c2ecf20Sopenharmony_ci
3808c2ecf20Sopenharmony_cisource "drivers/gpu/drm/tve200/Kconfig"
3818c2ecf20Sopenharmony_ci
3828c2ecf20Sopenharmony_cisource "drivers/gpu/drm/xen/Kconfig"
3838c2ecf20Sopenharmony_ci
3848c2ecf20Sopenharmony_cisource "drivers/gpu/drm/vboxvideo/Kconfig"
3858c2ecf20Sopenharmony_ci
3868c2ecf20Sopenharmony_cisource "drivers/gpu/drm/lima/Kconfig"
3878c2ecf20Sopenharmony_ci
3888c2ecf20Sopenharmony_cisource "drivers/gpu/drm/panfrost/Kconfig"
3898c2ecf20Sopenharmony_ci
3908c2ecf20Sopenharmony_cisource "drivers/gpu/drm/aspeed/Kconfig"
3918c2ecf20Sopenharmony_ci
3928c2ecf20Sopenharmony_cisource "drivers/gpu/drm/mcde/Kconfig"
3938c2ecf20Sopenharmony_ci
3948c2ecf20Sopenharmony_cisource "drivers/gpu/drm/tidss/Kconfig"
3958c2ecf20Sopenharmony_ci
3968c2ecf20Sopenharmony_cisource "drivers/gpu/drm/xlnx/Kconfig"
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_ci# Keep legacy drivers last
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_cimenuconfig DRM_LEGACY
4018c2ecf20Sopenharmony_ci	bool "Enable legacy drivers (DANGEROUS)"
4028c2ecf20Sopenharmony_ci	depends on DRM && MMU
4038c2ecf20Sopenharmony_ci	select DRM_VM
4048c2ecf20Sopenharmony_ci	help
4058c2ecf20Sopenharmony_ci	  Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
4068c2ecf20Sopenharmony_ci	  APIs to user-space, which can be used to circumvent access
4078c2ecf20Sopenharmony_ci	  restrictions and other security measures. For backwards compatibility
4088c2ecf20Sopenharmony_ci	  those drivers are still available, but their use is highly
4098c2ecf20Sopenharmony_ci	  inadvisable and might harm your system.
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ci	  You are recommended to use the safe modeset-only drivers instead, and
4128c2ecf20Sopenharmony_ci	  perform 3D emulation in user-space.
4138c2ecf20Sopenharmony_ci
4148c2ecf20Sopenharmony_ci	  Unless you have strong reasons to go rogue, say "N".
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ciif DRM_LEGACY
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciconfig DRM_TDFX
4198c2ecf20Sopenharmony_ci	tristate "3dfx Banshee/Voodoo3+"
4208c2ecf20Sopenharmony_ci	depends on DRM && PCI
4218c2ecf20Sopenharmony_ci	help
4228c2ecf20Sopenharmony_ci	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
4238c2ecf20Sopenharmony_ci	  graphics card.  If M is selected, the module will be called tdfx.
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ciconfig DRM_R128
4268c2ecf20Sopenharmony_ci	tristate "ATI Rage 128"
4278c2ecf20Sopenharmony_ci	depends on DRM && PCI
4288c2ecf20Sopenharmony_ci	select FW_LOADER
4298c2ecf20Sopenharmony_ci	help
4308c2ecf20Sopenharmony_ci	  Choose this option if you have an ATI Rage 128 graphics card.  If M
4318c2ecf20Sopenharmony_ci	  is selected, the module will be called r128.  AGP support for
4328c2ecf20Sopenharmony_ci	  this card is strongly suggested (unless you have a PCI version).
4338c2ecf20Sopenharmony_ci
4348c2ecf20Sopenharmony_ciconfig DRM_I810
4358c2ecf20Sopenharmony_ci	tristate "Intel I810"
4368c2ecf20Sopenharmony_ci	# !PREEMPTION because of missing ioctl locking
4378c2ecf20Sopenharmony_ci	depends on DRM && AGP && AGP_INTEL && (!PREEMPTION || BROKEN)
4388c2ecf20Sopenharmony_ci	help
4398c2ecf20Sopenharmony_ci	  Choose this option if you have an Intel I810 graphics card.  If M is
4408c2ecf20Sopenharmony_ci	  selected, the module will be called i810.  AGP support is required
4418c2ecf20Sopenharmony_ci	  for this driver to work.
4428c2ecf20Sopenharmony_ci
4438c2ecf20Sopenharmony_ciconfig DRM_MGA
4448c2ecf20Sopenharmony_ci	tristate "Matrox g200/g400"
4458c2ecf20Sopenharmony_ci	depends on DRM && PCI
4468c2ecf20Sopenharmony_ci	select FW_LOADER
4478c2ecf20Sopenharmony_ci	help
4488c2ecf20Sopenharmony_ci	  Choose this option if you have a Matrox G200, G400 or G450 graphics
4498c2ecf20Sopenharmony_ci	  card.  If M is selected, the module will be called mga.  AGP
4508c2ecf20Sopenharmony_ci	  support is required for this driver to work.
4518c2ecf20Sopenharmony_ci
4528c2ecf20Sopenharmony_ciconfig DRM_SIS
4538c2ecf20Sopenharmony_ci	tristate "SiS video cards"
4548c2ecf20Sopenharmony_ci	depends on DRM && AGP
4558c2ecf20Sopenharmony_ci	depends on FB_SIS || FB_SIS=n
4568c2ecf20Sopenharmony_ci	help
4578c2ecf20Sopenharmony_ci	  Choose this option if you have a SiS 630 or compatible video
4588c2ecf20Sopenharmony_ci	  chipset. If M is selected the module will be called sis. AGP
4598c2ecf20Sopenharmony_ci	  support is required for this driver to work.
4608c2ecf20Sopenharmony_ci
4618c2ecf20Sopenharmony_ciconfig DRM_VIA
4628c2ecf20Sopenharmony_ci	tristate "Via unichrome video cards"
4638c2ecf20Sopenharmony_ci	depends on DRM && PCI
4648c2ecf20Sopenharmony_ci	help
4658c2ecf20Sopenharmony_ci	  Choose this option if you have a Via unichrome or compatible video
4668c2ecf20Sopenharmony_ci	  chipset. If M is selected the module will be called via.
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_ciconfig DRM_SAVAGE
4698c2ecf20Sopenharmony_ci	tristate "Savage video cards"
4708c2ecf20Sopenharmony_ci	depends on DRM && PCI
4718c2ecf20Sopenharmony_ci	help
4728c2ecf20Sopenharmony_ci	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
4738c2ecf20Sopenharmony_ci	  chipset. If M is selected the module will be called savage.
4748c2ecf20Sopenharmony_ci
4758c2ecf20Sopenharmony_ciendif # DRM_LEGACY
4768c2ecf20Sopenharmony_ci
4778c2ecf20Sopenharmony_ciconfig DRM_EXPORT_FOR_TESTS
4788c2ecf20Sopenharmony_ci	bool
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_ci# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
4818c2ecf20Sopenharmony_ciconfig DRM_PANEL_ORIENTATION_QUIRKS
4828c2ecf20Sopenharmony_ci	tristate
4838c2ecf20Sopenharmony_ci
4848c2ecf20Sopenharmony_ciconfig DRM_LIB_RANDOM
4858c2ecf20Sopenharmony_ci	bool
4868c2ecf20Sopenharmony_ci	default n
487