Kconfig 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. #
  2. # Drm device configuration
  3. #
  4. # This driver provides support for the
  5. # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
  6. #
  7. menuconfig DRM
  8. tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
  9. depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA
  10. select HDMI
  11. select FB_CMDLINE
  12. select I2C
  13. select I2C_ALGOBIT
  14. select DMA_SHARED_BUFFER
  15. select SYNC_FILE
  16. help
  17. Kernel-level support for the Direct Rendering Infrastructure (DRI)
  18. introduced in XFree86 4.0. If you say Y here, you need to select
  19. the module that's right for your graphics card from the list below.
  20. These modules provide support for synchronization, security, and
  21. DMA transfers. Please see <http://dri.sourceforge.net/> for more
  22. details. You should also select and configure AGP
  23. (/dev/agpgart) support if it is available for your platform.
  24. config DRM_MIPI_DSI
  25. bool
  26. depends on DRM
  27. config DRM_DP_AUX_CHARDEV
  28. bool "DRM DP AUX Interface"
  29. depends on DRM
  30. help
  31. Choose this option to enable a /dev/drm_dp_auxN node that allows to
  32. read and write values to arbitrary DPCD registers on the DP aux
  33. channel.
  34. config DRM_DEBUG_MM
  35. bool "Insert extra checks and debug info into the DRM range managers"
  36. default n
  37. depends on DRM=y
  38. depends on STACKTRACE_SUPPORT
  39. select STACKDEPOT
  40. help
  41. Enable allocation tracking of memory manager and leak detection on
  42. shutdown.
  43. Recommended for driver developers only.
  44. If in doubt, say "N".
  45. config DRM_KMS_HELPER
  46. tristate
  47. depends on DRM
  48. help
  49. CRTC helpers for KMS drivers.
  50. config DRM_KMS_FB_HELPER
  51. bool
  52. depends on DRM_KMS_HELPER
  53. select FB
  54. select FRAMEBUFFER_CONSOLE if !EXPERT
  55. select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
  56. select FB_SYS_FOPS
  57. select FB_SYS_FILLRECT
  58. select FB_SYS_COPYAREA
  59. select FB_SYS_IMAGEBLIT
  60. select FB_CFB_FILLRECT
  61. select FB_CFB_COPYAREA
  62. select FB_CFB_IMAGEBLIT
  63. select FB_DEFERRED_IO
  64. help
  65. FBDEV helpers for KMS drivers.
  66. config DRM_FBDEV_EMULATION
  67. bool "Enable legacy fbdev support for your modesetting driver"
  68. depends on DRM
  69. select DRM_KMS_HELPER
  70. select DRM_KMS_FB_HELPER
  71. default y
  72. help
  73. Choose this option if you have a need for the legacy fbdev
  74. support. Note that this support also provides the linux console
  75. support on top of your modesetting driver.
  76. If in doubt, say "Y".
  77. config DRM_LOAD_EDID_FIRMWARE
  78. bool "Allow to specify an EDID data set instead of probing for it"
  79. depends on DRM_KMS_HELPER
  80. help
  81. Say Y here, if you want to use EDID data to be loaded from the
  82. /lib/firmware directory or one of the provided built-in
  83. data sets. This may be necessary, if the graphics adapter or
  84. monitor are unable to provide appropriate EDID data. Since this
  85. feature is provided as a workaround for broken hardware, the
  86. default case is N. Details and instructions how to build your own
  87. EDID data are given in Documentation/EDID/HOWTO.txt.
  88. config DRM_TTM
  89. tristate
  90. depends on DRM
  91. help
  92. GPU memory management subsystem for devices with multiple
  93. GPU memory types. Will be enabled automatically if a device driver
  94. uses it.
  95. config DRM_GEM_CMA_HELPER
  96. bool
  97. depends on DRM
  98. help
  99. Choose this if you need the GEM CMA helper functions
  100. config DRM_KMS_CMA_HELPER
  101. bool
  102. depends on DRM
  103. select DRM_GEM_CMA_HELPER
  104. select DRM_KMS_FB_HELPER
  105. select FB_SYS_FILLRECT
  106. select FB_SYS_COPYAREA
  107. select FB_SYS_IMAGEBLIT
  108. help
  109. Choose this if you need the KMS CMA helper functions
  110. source "drivers/gpu/drm/i2c/Kconfig"
  111. source "drivers/gpu/drm/arm/Kconfig"
  112. config DRM_RADEON
  113. tristate "ATI Radeon"
  114. depends on DRM && PCI
  115. select FW_LOADER
  116. select DRM_KMS_HELPER
  117. select DRM_TTM
  118. select POWER_SUPPLY
  119. select HWMON
  120. select BACKLIGHT_CLASS_DEVICE
  121. select BACKLIGHT_LCD_SUPPORT
  122. select INTERVAL_TREE
  123. help
  124. Choose this option if you have an ATI Radeon graphics card. There
  125. are both PCI and AGP versions. You don't need to choose this to
  126. run the Radeon in plain VGA mode.
  127. If M is selected, the module will be called radeon.
  128. source "drivers/gpu/drm/radeon/Kconfig"
  129. config DRM_AMDGPU
  130. tristate "AMD GPU"
  131. depends on DRM && PCI
  132. select FW_LOADER
  133. select DRM_KMS_HELPER
  134. select DRM_TTM
  135. select POWER_SUPPLY
  136. select HWMON
  137. select BACKLIGHT_CLASS_DEVICE
  138. select BACKLIGHT_LCD_SUPPORT
  139. select INTERVAL_TREE
  140. help
  141. Choose this option if you have a recent AMD Radeon graphics card.
  142. If M is selected, the module will be called amdgpu.
  143. source "drivers/gpu/drm/amd/amdgpu/Kconfig"
  144. source "drivers/gpu/drm/nouveau/Kconfig"
  145. source "drivers/gpu/drm/i915/Kconfig"
  146. config DRM_VGEM
  147. tristate "Virtual GEM provider"
  148. depends on DRM
  149. help
  150. Choose this option to get a virtual graphics memory manager,
  151. as used by Mesa's software renderer for enhanced performance.
  152. If M is selected the module will be called vgem.
  153. source "drivers/gpu/drm/exynos/Kconfig"
  154. source "drivers/gpu/drm/rockchip/Kconfig"
  155. source "drivers/gpu/drm/vmwgfx/Kconfig"
  156. source "drivers/gpu/drm/gma500/Kconfig"
  157. source "drivers/gpu/drm/udl/Kconfig"
  158. source "drivers/gpu/drm/ast/Kconfig"
  159. source "drivers/gpu/drm/mgag200/Kconfig"
  160. source "drivers/gpu/drm/cirrus/Kconfig"
  161. source "drivers/gpu/drm/armada/Kconfig"
  162. source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
  163. source "drivers/gpu/drm/rcar-du/Kconfig"
  164. source "drivers/gpu/drm/shmobile/Kconfig"
  165. source "drivers/gpu/drm/sun4i/Kconfig"
  166. source "drivers/gpu/drm/omapdrm/Kconfig"
  167. source "drivers/gpu/drm/tilcdc/Kconfig"
  168. source "drivers/gpu/drm/qxl/Kconfig"
  169. source "drivers/gpu/drm/bochs/Kconfig"
  170. source "drivers/gpu/drm/virtio/Kconfig"
  171. source "drivers/gpu/drm/msm/Kconfig"
  172. source "drivers/gpu/drm/fsl-dcu/Kconfig"
  173. source "drivers/gpu/drm/tegra/Kconfig"
  174. source "drivers/gpu/drm/panel/Kconfig"
  175. source "drivers/gpu/drm/bridge/Kconfig"
  176. source "drivers/gpu/drm/sti/Kconfig"
  177. source "drivers/gpu/drm/amd/amdkfd/Kconfig"
  178. source "drivers/gpu/drm/imx/Kconfig"
  179. source "drivers/gpu/drm/vc4/Kconfig"
  180. source "drivers/gpu/drm/etnaviv/Kconfig"
  181. source "drivers/gpu/drm/arc/Kconfig"
  182. source "drivers/gpu/drm/hisilicon/Kconfig"
  183. source "drivers/gpu/drm/mediatek/Kconfig"
  184. source "drivers/gpu/drm/zte/Kconfig"
  185. # Keep legacy drivers last
  186. menuconfig DRM_LEGACY
  187. bool "Enable legacy drivers (DANGEROUS)"
  188. depends on DRM
  189. help
  190. Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
  191. APIs to user-space, which can be used to circumvent access
  192. restrictions and other security measures. For backwards compatibility
  193. those drivers are still available, but their use is highly
  194. inadvisable and might harm your system.
  195. You are recommended to use the safe modeset-only drivers instead, and
  196. perform 3D emulation in user-space.
  197. Unless you have strong reasons to go rogue, say "N".
  198. if DRM_LEGACY
  199. config DRM_TDFX
  200. tristate "3dfx Banshee/Voodoo3+"
  201. depends on DRM && PCI
  202. help
  203. Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
  204. graphics card. If M is selected, the module will be called tdfx.
  205. config DRM_R128
  206. tristate "ATI Rage 128"
  207. depends on DRM && PCI
  208. select FW_LOADER
  209. help
  210. Choose this option if you have an ATI Rage 128 graphics card. If M
  211. is selected, the module will be called r128. AGP support for
  212. this card is strongly suggested (unless you have a PCI version).
  213. config DRM_I810
  214. tristate "Intel I810"
  215. # !PREEMPT because of missing ioctl locking
  216. depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
  217. help
  218. Choose this option if you have an Intel I810 graphics card. If M is
  219. selected, the module will be called i810. AGP support is required
  220. for this driver to work.
  221. config DRM_MGA
  222. tristate "Matrox g200/g400"
  223. depends on DRM && PCI
  224. select FW_LOADER
  225. help
  226. Choose this option if you have a Matrox G200, G400 or G450 graphics
  227. card. If M is selected, the module will be called mga. AGP
  228. support is required for this driver to work.
  229. config DRM_SIS
  230. tristate "SiS video cards"
  231. depends on DRM && AGP
  232. depends on FB_SIS || FB_SIS=n
  233. help
  234. Choose this option if you have a SiS 630 or compatible video
  235. chipset. If M is selected the module will be called sis. AGP
  236. support is required for this driver to work.
  237. config DRM_VIA
  238. tristate "Via unichrome video cards"
  239. depends on DRM && PCI
  240. help
  241. Choose this option if you have a Via unichrome or compatible video
  242. chipset. If M is selected the module will be called via.
  243. config DRM_SAVAGE
  244. tristate "Savage video cards"
  245. depends on DRM && PCI
  246. help
  247. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  248. chipset. If M is selected the module will be called savage.
  249. endif # DRM_LEGACY