Kconfig 8.0 KB

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