Kconfig 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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 I2C
  12. select I2C_ALGOBIT
  13. select DMA_SHARED_BUFFER
  14. help
  15. Kernel-level support for the Direct Rendering Infrastructure (DRI)
  16. introduced in XFree86 4.0. If you say Y here, you need to select
  17. the module that's right for your graphics card from the list below.
  18. These modules provide support for synchronization, security, and
  19. DMA transfers. Please see <http://dri.sourceforge.net/> for more
  20. details. You should also select and configure AGP
  21. (/dev/agpgart) support if it is available for your platform.
  22. config DRM_USB
  23. tristate
  24. depends on DRM
  25. depends on USB_SUPPORT && USB_ARCH_HAS_HCD
  26. select USB
  27. config DRM_KMS_HELPER
  28. tristate
  29. depends on DRM
  30. help
  31. CRTC helpers for KMS drivers.
  32. config DRM_KMS_FB_HELPER
  33. bool
  34. depends on DRM_KMS_HELPER
  35. select FB
  36. select FRAMEBUFFER_CONSOLE if !EXPERT
  37. select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
  38. help
  39. FBDEV helpers for KMS drivers.
  40. config DRM_LOAD_EDID_FIRMWARE
  41. bool "Allow to specify an EDID data set instead of probing for it"
  42. depends on DRM_KMS_HELPER
  43. help
  44. Say Y here, if you want to use EDID data to be loaded from the
  45. /lib/firmware directory or one of the provided built-in
  46. data sets. This may be necessary, if the graphics adapter or
  47. monitor are unable to provide appropriate EDID data. Since this
  48. feature is provided as a workaround for broken hardware, the
  49. default case is N. Details and instructions how to build your own
  50. EDID data are given in Documentation/EDID/HOWTO.txt.
  51. config DRM_TTM
  52. tristate
  53. depends on DRM
  54. help
  55. GPU memory management subsystem for devices with multiple
  56. GPU memory types. Will be enabled automatically if a device driver
  57. uses it.
  58. config DRM_GEM_CMA_HELPER
  59. bool
  60. depends on DRM
  61. help
  62. Choose this if you need the GEM CMA helper functions
  63. config DRM_KMS_CMA_HELPER
  64. bool
  65. select DRM_GEM_CMA_HELPER
  66. select DRM_KMS_FB_HELPER
  67. select FB_SYS_FILLRECT
  68. select FB_SYS_COPYAREA
  69. select FB_SYS_IMAGEBLIT
  70. help
  71. Choose this if you need the KMS CMA helper functions
  72. source "drivers/gpu/drm/i2c/Kconfig"
  73. config DRM_TDFX
  74. tristate "3dfx Banshee/Voodoo3+"
  75. depends on DRM && PCI
  76. help
  77. Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
  78. graphics card. If M is selected, the module will be called tdfx.
  79. config DRM_R128
  80. tristate "ATI Rage 128"
  81. depends on DRM && PCI
  82. select FW_LOADER
  83. help
  84. Choose this option if you have an ATI Rage 128 graphics card. If M
  85. is selected, the module will be called r128. AGP support for
  86. this card is strongly suggested (unless you have a PCI version).
  87. config DRM_RADEON
  88. tristate "ATI Radeon"
  89. depends on DRM && PCI
  90. select FB_CFB_FILLRECT
  91. select FB_CFB_COPYAREA
  92. select FB_CFB_IMAGEBLIT
  93. select FW_LOADER
  94. select DRM_KMS_HELPER
  95. select DRM_KMS_FB_HELPER
  96. select DRM_TTM
  97. select POWER_SUPPLY
  98. select HWMON
  99. select BACKLIGHT_CLASS_DEVICE
  100. help
  101. Choose this option if you have an ATI Radeon graphics card. There
  102. are both PCI and AGP versions. You don't need to choose this to
  103. run the Radeon in plain VGA mode.
  104. If M is selected, the module will be called radeon.
  105. source "drivers/gpu/drm/radeon/Kconfig"
  106. source "drivers/gpu/drm/nouveau/Kconfig"
  107. config DRM_I810
  108. tristate "Intel I810"
  109. # !PREEMPT because of missing ioctl locking
  110. depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
  111. help
  112. Choose this option if you have an Intel I810 graphics card. If M is
  113. selected, the module will be called i810. AGP support is required
  114. for this driver to work.
  115. config DRM_I915
  116. tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
  117. depends on DRM
  118. depends on AGP
  119. depends on AGP_INTEL
  120. # we need shmfs for the swappable backing store, and in particular
  121. # the shmem_readpage() which depends upon tmpfs
  122. select SHMEM
  123. select TMPFS
  124. select DRM_KMS_HELPER
  125. select DRM_KMS_FB_HELPER
  126. select FB_CFB_FILLRECT
  127. select FB_CFB_COPYAREA
  128. select FB_CFB_IMAGEBLIT
  129. # i915 depends on ACPI_VIDEO when ACPI is enabled
  130. # but for select to work, need to select ACPI_VIDEO's dependencies, ick
  131. select BACKLIGHT_LCD_SUPPORT if ACPI
  132. select BACKLIGHT_CLASS_DEVICE if ACPI
  133. select VIDEO_OUTPUT_CONTROL if ACPI
  134. select INPUT if ACPI
  135. select THERMAL if ACPI
  136. select ACPI_VIDEO if ACPI
  137. select ACPI_BUTTON if ACPI
  138. help
  139. Choose this option if you have a system that has "Intel Graphics
  140. Media Accelerator" or "HD Graphics" integrated graphics,
  141. including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
  142. G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
  143. Core i5, Core i7 as well as Atom CPUs with integrated graphics.
  144. If M is selected, the module will be called i915. AGP support
  145. is required for this driver to work. This driver is used by
  146. the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
  147. replaces the older i830 module that supported a subset of the
  148. hardware in older X.org releases.
  149. Note that the older i810/i815 chipsets require the use of the
  150. i810 driver instead, and the Atom z5xx series has an entirely
  151. different implementation.
  152. config DRM_I915_KMS
  153. bool "Enable modesetting on intel by default"
  154. depends on DRM_I915
  155. help
  156. Choose this option if you want kernel modesetting enabled by default,
  157. and you have a new enough userspace to support this. Running old
  158. userspaces with this enabled will cause pain. Note that this causes
  159. the driver to bind to PCI devices, which precludes loading things
  160. like intelfb.
  161. config DRM_I915_PRELIMINARY_HW_SUPPORT
  162. bool "Enable preliminary support for prerelease Intel hardware by default"
  163. depends on DRM_I915
  164. help
  165. Choose this option if you have prerelease Intel hardware and want the
  166. i915 driver to support it by default. You can enable such support at
  167. runtime with the module option i915.preliminary_hw_support=1; this
  168. option changes the default for that module option.
  169. If in doubt, say "N".
  170. config DRM_MGA
  171. tristate "Matrox g200/g400"
  172. depends on DRM && PCI
  173. select FW_LOADER
  174. help
  175. Choose this option if you have a Matrox G200, G400 or G450 graphics
  176. card. If M is selected, the module will be called mga. AGP
  177. support is required for this driver to work.
  178. config DRM_SIS
  179. tristate "SiS video cards"
  180. depends on DRM && AGP
  181. depends on FB_SIS || FB_SIS=n
  182. help
  183. Choose this option if you have a SiS 630 or compatible video
  184. chipset. If M is selected the module will be called sis. AGP
  185. support is required for this driver to work.
  186. config DRM_VIA
  187. tristate "Via unichrome video cards"
  188. depends on DRM && PCI
  189. help
  190. Choose this option if you have a Via unichrome or compatible video
  191. chipset. If M is selected the module will be called via.
  192. config DRM_SAVAGE
  193. tristate "Savage video cards"
  194. depends on DRM && PCI
  195. help
  196. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  197. chipset. If M is selected the module will be called savage.
  198. source "drivers/gpu/drm/exynos/Kconfig"
  199. source "drivers/gpu/drm/vmwgfx/Kconfig"
  200. source "drivers/gpu/drm/gma500/Kconfig"
  201. source "drivers/gpu/drm/udl/Kconfig"
  202. source "drivers/gpu/drm/ast/Kconfig"
  203. source "drivers/gpu/drm/mgag200/Kconfig"
  204. source "drivers/gpu/drm/cirrus/Kconfig"
  205. source "drivers/gpu/drm/rcar-du/Kconfig"
  206. source "drivers/gpu/drm/shmobile/Kconfig"
  207. source "drivers/gpu/drm/omapdrm/Kconfig"
  208. source "drivers/gpu/drm/tilcdc/Kconfig"
  209. source "drivers/gpu/drm/qxl/Kconfig"
  210. source "drivers/gpu/drm/msm/Kconfig"