Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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 SLOW_WORK
  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_KMS_HELPER
  22. tristate
  23. depends on DRM
  24. select FB
  25. select FRAMEBUFFER_CONSOLE if !EXPERT
  26. help
  27. FB and CRTC helpers for KMS drivers.
  28. config DRM_TTM
  29. tristate
  30. depends on DRM
  31. help
  32. GPU memory management subsystem for devices with multiple
  33. GPU memory types. Will be enabled automatically if a device driver
  34. uses it.
  35. config DRM_TDFX
  36. tristate "3dfx Banshee/Voodoo3+"
  37. depends on DRM && PCI
  38. help
  39. Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
  40. graphics card. If M is selected, the module will be called tdfx.
  41. config DRM_R128
  42. tristate "ATI Rage 128"
  43. depends on DRM && PCI
  44. select FW_LOADER
  45. help
  46. Choose this option if you have an ATI Rage 128 graphics card. If M
  47. is selected, the module will be called r128. AGP support for
  48. this card is strongly suggested (unless you have a PCI version).
  49. config DRM_RADEON
  50. tristate "ATI Radeon"
  51. depends on DRM && PCI
  52. select FB_CFB_FILLRECT
  53. select FB_CFB_COPYAREA
  54. select FB_CFB_IMAGEBLIT
  55. select FW_LOADER
  56. select DRM_KMS_HELPER
  57. select DRM_TTM
  58. select POWER_SUPPLY
  59. select HWMON
  60. help
  61. Choose this option if you have an ATI Radeon graphics card. There
  62. are both PCI and AGP versions. You don't need to choose this to
  63. run the Radeon in plain VGA mode.
  64. If M is selected, the module will be called radeon.
  65. source "drivers/gpu/drm/radeon/Kconfig"
  66. config DRM_I810
  67. tristate "Intel I810"
  68. # BKL usage in order to avoid AB-BA deadlocks, may become BROKEN_ON_SMP
  69. depends on DRM && AGP && AGP_INTEL && BKL
  70. help
  71. Choose this option if you have an Intel I810 graphics card. If M is
  72. selected, the module will be called i810. AGP support is required
  73. for this driver to work.
  74. choice
  75. prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
  76. depends on DRM && AGP && AGP_INTEL
  77. optional
  78. config DRM_I830
  79. tristate "i830 driver"
  80. # BKL usage in order to avoid AB-BA deadlocks, i830 may get removed
  81. depends on BKL
  82. help
  83. Choose this option if you have a system that has Intel 830M, 845G,
  84. 852GM, 855GM or 865G integrated graphics. If M is selected, the
  85. module will be called i830. AGP support is required for this driver
  86. to work. This driver is used by the older X releases X.org 6.7 and
  87. XFree86 4.3. If unsure, build this and i915 as modules and the X server
  88. will load the correct one.
  89. config DRM_I915
  90. tristate "i915 driver"
  91. depends on AGP_INTEL
  92. # we need shmfs for the swappable backing store, and in particular
  93. # the shmem_readpage() which depends upon tmpfs
  94. select SHMEM
  95. select TMPFS
  96. select DRM_KMS_HELPER
  97. select FB_CFB_FILLRECT
  98. select FB_CFB_COPYAREA
  99. select FB_CFB_IMAGEBLIT
  100. # i915 depends on ACPI_VIDEO when ACPI is enabled
  101. # but for select to work, need to select ACPI_VIDEO's dependencies, ick
  102. select BACKLIGHT_CLASS_DEVICE if ACPI
  103. select INPUT if ACPI
  104. select ACPI_VIDEO if ACPI
  105. select ACPI_BUTTON if ACPI
  106. help
  107. Choose this option if you have a system that has Intel 830M, 845G,
  108. 852GM, 855GM 865G or 915G integrated graphics. If M is selected, the
  109. module will be called i915. AGP support is required for this driver
  110. to work. This driver is used by the Intel driver in X.org 6.8 and
  111. XFree86 4.4 and above. If unsure, build this and i830 as modules and
  112. the X server will load the correct one.
  113. config DRM_I915_KMS
  114. bool "Enable modesetting on intel by default"
  115. depends on DRM_I915
  116. help
  117. Choose this option if you want kernel modesetting enabled by default,
  118. and you have a new enough userspace to support this. Running old
  119. userspaces with this enabled will cause pain. Note that this causes
  120. the driver to bind to PCI devices, which precludes loading things
  121. like intelfb.
  122. endchoice
  123. config DRM_MGA
  124. tristate "Matrox g200/g400"
  125. depends on DRM && PCI
  126. select FW_LOADER
  127. help
  128. Choose this option if you have a Matrox G200, G400 or G450 graphics
  129. card. If M is selected, the module will be called mga. AGP
  130. support is required for this driver to work.
  131. config DRM_SIS
  132. tristate "SiS video cards"
  133. depends on DRM && AGP
  134. depends on FB_SIS || FB_SIS=n
  135. help
  136. Choose this option if you have a SiS 630 or compatible video
  137. chipset. If M is selected the module will be called sis. AGP
  138. support is required for this driver to work.
  139. config DRM_VIA
  140. tristate "Via unichrome video cards"
  141. depends on DRM && PCI
  142. help
  143. Choose this option if you have a Via unichrome or compatible video
  144. chipset. If M is selected the module will be called via.
  145. config DRM_SAVAGE
  146. tristate "Savage video cards"
  147. depends on DRM && PCI
  148. help
  149. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  150. chipset. If M is selected the module will be called savage.