Kconfig 6.8 KB

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