Kconfig 6.6 KB

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