Kconfig 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. config DRM_TDFX
  100. tristate "3dfx Banshee/Voodoo3+"
  101. depends on DRM && PCI
  102. help
  103. Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
  104. graphics card. If M is selected, the module will be called tdfx.
  105. source "drivers/gpu/drm/arm/Kconfig"
  106. config DRM_R128
  107. tristate "ATI Rage 128"
  108. depends on DRM && PCI
  109. select FW_LOADER
  110. help
  111. Choose this option if you have an ATI Rage 128 graphics card. If M
  112. is selected, the module will be called r128. AGP support for
  113. this card is strongly suggested (unless you have a PCI version).
  114. config DRM_RADEON
  115. tristate "ATI Radeon"
  116. depends on DRM && PCI
  117. select FB_CFB_FILLRECT
  118. select FB_CFB_COPYAREA
  119. select FB_CFB_IMAGEBLIT
  120. select FW_LOADER
  121. select DRM_KMS_HELPER
  122. select DRM_KMS_FB_HELPER
  123. select DRM_TTM
  124. select POWER_SUPPLY
  125. select HWMON
  126. select BACKLIGHT_CLASS_DEVICE
  127. select BACKLIGHT_LCD_SUPPORT
  128. select INTERVAL_TREE
  129. help
  130. Choose this option if you have an ATI Radeon graphics card. There
  131. are both PCI and AGP versions. You don't need to choose this to
  132. run the Radeon in plain VGA mode.
  133. If M is selected, the module will be called radeon.
  134. source "drivers/gpu/drm/radeon/Kconfig"
  135. config DRM_AMDGPU
  136. tristate "AMD GPU"
  137. depends on DRM && PCI
  138. select FB_CFB_FILLRECT
  139. select FB_CFB_COPYAREA
  140. select FB_CFB_IMAGEBLIT
  141. select FW_LOADER
  142. select DRM_KMS_HELPER
  143. select DRM_KMS_FB_HELPER
  144. select DRM_TTM
  145. select POWER_SUPPLY
  146. select HWMON
  147. select BACKLIGHT_CLASS_DEVICE
  148. select BACKLIGHT_LCD_SUPPORT
  149. select INTERVAL_TREE
  150. help
  151. Choose this option if you have a recent AMD Radeon graphics card.
  152. If M is selected, the module will be called amdgpu.
  153. source "drivers/gpu/drm/amd/amdgpu/Kconfig"
  154. source "drivers/gpu/drm/amd/powerplay/Kconfig"
  155. source "drivers/gpu/drm/amd/acp/Kconfig"
  156. source "drivers/gpu/drm/nouveau/Kconfig"
  157. config DRM_I810
  158. tristate "Intel I810"
  159. # !PREEMPT because of missing ioctl locking
  160. depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
  161. help
  162. Choose this option if you have an Intel I810 graphics card. If M is
  163. selected, the module will be called i810. AGP support is required
  164. for this driver to work.
  165. source "drivers/gpu/drm/i915/Kconfig"
  166. config DRM_MGA
  167. tristate "Matrox g200/g400"
  168. depends on DRM && PCI
  169. select FW_LOADER
  170. help
  171. Choose this option if you have a Matrox G200, G400 or G450 graphics
  172. card. If M is selected, the module will be called mga. AGP
  173. support is required for this driver to work.
  174. config DRM_SIS
  175. tristate "SiS video cards"
  176. depends on DRM && AGP
  177. depends on FB_SIS || FB_SIS=n
  178. help
  179. Choose this option if you have a SiS 630 or compatible video
  180. chipset. If M is selected the module will be called sis. AGP
  181. support is required for this driver to work.
  182. config DRM_VIA
  183. tristate "Via unichrome video cards"
  184. depends on DRM && PCI
  185. help
  186. Choose this option if you have a Via unichrome or compatible video
  187. chipset. If M is selected the module will be called via.
  188. config DRM_SAVAGE
  189. tristate "Savage video cards"
  190. depends on DRM && PCI
  191. help
  192. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  193. chipset. If M is selected the module will be called savage.
  194. config DRM_VGEM
  195. tristate "Virtual GEM provider"
  196. depends on DRM
  197. help
  198. Choose this option to get a virtual graphics memory manager,
  199. as used by Mesa's software renderer for enhanced performance.
  200. If M is selected the module will be called vgem.
  201. source "drivers/gpu/drm/exynos/Kconfig"
  202. source "drivers/gpu/drm/rockchip/Kconfig"
  203. source "drivers/gpu/drm/vmwgfx/Kconfig"
  204. source "drivers/gpu/drm/gma500/Kconfig"
  205. source "drivers/gpu/drm/udl/Kconfig"
  206. source "drivers/gpu/drm/ast/Kconfig"
  207. source "drivers/gpu/drm/mgag200/Kconfig"
  208. source "drivers/gpu/drm/cirrus/Kconfig"
  209. source "drivers/gpu/drm/armada/Kconfig"
  210. source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
  211. source "drivers/gpu/drm/rcar-du/Kconfig"
  212. source "drivers/gpu/drm/shmobile/Kconfig"
  213. source "drivers/gpu/drm/sun4i/Kconfig"
  214. source "drivers/gpu/drm/omapdrm/Kconfig"
  215. source "drivers/gpu/drm/tilcdc/Kconfig"
  216. source "drivers/gpu/drm/qxl/Kconfig"
  217. source "drivers/gpu/drm/bochs/Kconfig"
  218. source "drivers/gpu/drm/virtio/Kconfig"
  219. source "drivers/gpu/drm/msm/Kconfig"
  220. source "drivers/gpu/drm/fsl-dcu/Kconfig"
  221. source "drivers/gpu/drm/tegra/Kconfig"
  222. source "drivers/gpu/drm/panel/Kconfig"
  223. source "drivers/gpu/drm/bridge/Kconfig"
  224. source "drivers/gpu/drm/sti/Kconfig"
  225. source "drivers/gpu/drm/amd/amdkfd/Kconfig"
  226. source "drivers/gpu/drm/imx/Kconfig"
  227. source "drivers/gpu/drm/vc4/Kconfig"
  228. source "drivers/gpu/drm/etnaviv/Kconfig"
  229. source "drivers/gpu/drm/arc/Kconfig"
  230. source "drivers/gpu/drm/hisilicon/Kconfig"
  231. source "drivers/gpu/drm/mediatek/Kconfig"