Kconfig 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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_KMS_HELPER
  27. tristate
  28. depends on DRM
  29. help
  30. CRTC helpers for KMS drivers.
  31. config DRM_KMS_FB_HELPER
  32. bool
  33. depends on DRM_KMS_HELPER
  34. select FB
  35. select FRAMEBUFFER_CONSOLE if !EXPERT
  36. select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
  37. select FB_SYS_FOPS
  38. select FB_SYS_FILLRECT
  39. select FB_SYS_COPYAREA
  40. select FB_SYS_IMAGEBLIT
  41. select FB_CFB_FILLRECT
  42. select FB_CFB_COPYAREA
  43. select FB_CFB_IMAGEBLIT
  44. help
  45. FBDEV helpers for KMS drivers.
  46. config DRM_FBDEV_EMULATION
  47. bool "Enable legacy fbdev support for your modesetting driver"
  48. depends on DRM
  49. select DRM_KMS_HELPER
  50. select DRM_KMS_FB_HELPER
  51. default y
  52. help
  53. Choose this option if you have a need for the legacy fbdev
  54. support. Note that this support also provides the linux console
  55. support on top of your modesetting driver.
  56. If in doubt, say "Y".
  57. config DRM_LOAD_EDID_FIRMWARE
  58. bool "Allow to specify an EDID data set instead of probing for it"
  59. depends on DRM_KMS_HELPER
  60. help
  61. Say Y here, if you want to use EDID data to be loaded from the
  62. /lib/firmware directory or one of the provided built-in
  63. data sets. This may be necessary, if the graphics adapter or
  64. monitor are unable to provide appropriate EDID data. Since this
  65. feature is provided as a workaround for broken hardware, the
  66. default case is N. Details and instructions how to build your own
  67. EDID data are given in Documentation/EDID/HOWTO.txt.
  68. config DRM_TTM
  69. tristate
  70. depends on DRM
  71. help
  72. GPU memory management subsystem for devices with multiple
  73. GPU memory types. Will be enabled automatically if a device driver
  74. uses it.
  75. config DRM_GEM_CMA_HELPER
  76. bool
  77. depends on DRM && HAVE_DMA_ATTRS
  78. help
  79. Choose this if you need the GEM CMA helper functions
  80. config DRM_KMS_CMA_HELPER
  81. bool
  82. depends on DRM && HAVE_DMA_ATTRS
  83. select DRM_GEM_CMA_HELPER
  84. select DRM_KMS_FB_HELPER
  85. select FB_SYS_FILLRECT
  86. select FB_SYS_COPYAREA
  87. select FB_SYS_IMAGEBLIT
  88. help
  89. Choose this if you need the KMS CMA helper functions
  90. source "drivers/gpu/drm/i2c/Kconfig"
  91. config DRM_TDFX
  92. tristate "3dfx Banshee/Voodoo3+"
  93. depends on DRM && PCI
  94. help
  95. Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
  96. graphics card. If M is selected, the module will be called tdfx.
  97. config DRM_R128
  98. tristate "ATI Rage 128"
  99. depends on DRM && PCI
  100. select FW_LOADER
  101. help
  102. Choose this option if you have an ATI Rage 128 graphics card. If M
  103. is selected, the module will be called r128. AGP support for
  104. this card is strongly suggested (unless you have a PCI version).
  105. config DRM_RADEON
  106. tristate "ATI Radeon"
  107. depends on DRM && PCI
  108. select FB_CFB_FILLRECT
  109. select FB_CFB_COPYAREA
  110. select FB_CFB_IMAGEBLIT
  111. select FW_LOADER
  112. select DRM_KMS_HELPER
  113. select DRM_KMS_FB_HELPER
  114. select DRM_TTM
  115. select POWER_SUPPLY
  116. select HWMON
  117. select BACKLIGHT_CLASS_DEVICE
  118. select BACKLIGHT_LCD_SUPPORT
  119. select INTERVAL_TREE
  120. help
  121. Choose this option if you have an ATI Radeon graphics card. There
  122. are both PCI and AGP versions. You don't need to choose this to
  123. run the Radeon in plain VGA mode.
  124. If M is selected, the module will be called radeon.
  125. source "drivers/gpu/drm/radeon/Kconfig"
  126. config DRM_AMDGPU
  127. tristate "AMD GPU"
  128. depends on DRM && PCI
  129. select FB_CFB_FILLRECT
  130. select FB_CFB_COPYAREA
  131. select FB_CFB_IMAGEBLIT
  132. select FW_LOADER
  133. select DRM_KMS_HELPER
  134. select DRM_KMS_FB_HELPER
  135. select DRM_TTM
  136. select POWER_SUPPLY
  137. select HWMON
  138. select BACKLIGHT_CLASS_DEVICE
  139. select BACKLIGHT_LCD_SUPPORT
  140. select INTERVAL_TREE
  141. help
  142. Choose this option if you have a recent AMD Radeon graphics card.
  143. If M is selected, the module will be called amdgpu.
  144. source "drivers/gpu/drm/amd/amdgpu/Kconfig"
  145. source "drivers/gpu/drm/nouveau/Kconfig"
  146. config DRM_I810
  147. tristate "Intel I810"
  148. # !PREEMPT because of missing ioctl locking
  149. depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
  150. help
  151. Choose this option if you have an Intel I810 graphics card. If M is
  152. selected, the module will be called i810. AGP support is required
  153. for this driver to work.
  154. source "drivers/gpu/drm/i915/Kconfig"
  155. config DRM_MGA
  156. tristate "Matrox g200/g400"
  157. depends on DRM && PCI
  158. select FW_LOADER
  159. help
  160. Choose this option if you have a Matrox G200, G400 or G450 graphics
  161. card. If M is selected, the module will be called mga. AGP
  162. support is required for this driver to work.
  163. config DRM_SIS
  164. tristate "SiS video cards"
  165. depends on DRM && AGP
  166. depends on FB_SIS || FB_SIS=n
  167. help
  168. Choose this option if you have a SiS 630 or compatible video
  169. chipset. If M is selected the module will be called sis. AGP
  170. support is required for this driver to work.
  171. config DRM_VIA
  172. tristate "Via unichrome video cards"
  173. depends on DRM && PCI
  174. help
  175. Choose this option if you have a Via unichrome or compatible video
  176. chipset. If M is selected the module will be called via.
  177. config DRM_SAVAGE
  178. tristate "Savage video cards"
  179. depends on DRM && PCI
  180. help
  181. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  182. chipset. If M is selected the module will be called savage.
  183. config DRM_VGEM
  184. tristate "Virtual GEM provider"
  185. depends on DRM
  186. help
  187. Choose this option to get a virtual graphics memory manager,
  188. as used by Mesa's software renderer for enhanced performance.
  189. If M is selected the module will be called vgem.
  190. source "drivers/gpu/drm/exynos/Kconfig"
  191. source "drivers/gpu/drm/rockchip/Kconfig"
  192. source "drivers/gpu/drm/vmwgfx/Kconfig"
  193. source "drivers/gpu/drm/gma500/Kconfig"
  194. source "drivers/gpu/drm/udl/Kconfig"
  195. source "drivers/gpu/drm/ast/Kconfig"
  196. source "drivers/gpu/drm/mgag200/Kconfig"
  197. source "drivers/gpu/drm/cirrus/Kconfig"
  198. source "drivers/gpu/drm/armada/Kconfig"
  199. source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
  200. source "drivers/gpu/drm/rcar-du/Kconfig"
  201. source "drivers/gpu/drm/shmobile/Kconfig"
  202. source "drivers/gpu/drm/omapdrm/Kconfig"
  203. source "drivers/gpu/drm/tilcdc/Kconfig"
  204. source "drivers/gpu/drm/qxl/Kconfig"
  205. source "drivers/gpu/drm/bochs/Kconfig"
  206. source "drivers/gpu/drm/virtio/Kconfig"
  207. source "drivers/gpu/drm/msm/Kconfig"
  208. source "drivers/gpu/drm/fsl-dcu/Kconfig"
  209. source "drivers/gpu/drm/tegra/Kconfig"
  210. source "drivers/gpu/drm/panel/Kconfig"
  211. source "drivers/gpu/drm/bridge/Kconfig"
  212. source "drivers/gpu/drm/sti/Kconfig"
  213. source "drivers/gpu/drm/amd/amdkfd/Kconfig"
  214. source "drivers/gpu/drm/imx/Kconfig"
  215. source "drivers/gpu/drm/vc4/Kconfig"