Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 !EMBEDDED
  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. select SHMEM
  93. select DRM_KMS_HELPER
  94. select FB_CFB_FILLRECT
  95. select FB_CFB_COPYAREA
  96. select FB_CFB_IMAGEBLIT
  97. # i915 depends on ACPI_VIDEO when ACPI is enabled
  98. # but for select to work, need to select ACPI_VIDEO's dependencies, ick
  99. select VIDEO_OUTPUT_CONTROL if ACPI
  100. select BACKLIGHT_CLASS_DEVICE if ACPI
  101. select INPUT if ACPI
  102. select ACPI_VIDEO if ACPI
  103. select ACPI_BUTTON if ACPI
  104. help
  105. Choose this option if you have a system that has Intel 830M, 845G,
  106. 852GM, 855GM 865G or 915G integrated graphics. If M is selected, the
  107. module will be called i915. AGP support is required for this driver
  108. to work. This driver is used by the Intel driver in X.org 6.8 and
  109. XFree86 4.4 and above. If unsure, build this and i830 as modules and
  110. the X server will load the correct one.
  111. config DRM_I915_KMS
  112. bool "Enable modesetting on intel by default"
  113. depends on DRM_I915
  114. help
  115. Choose this option if you want kernel modesetting enabled by default,
  116. and you have a new enough userspace to support this. Running old
  117. userspaces with this enabled will cause pain. Note that this causes
  118. the driver to bind to PCI devices, which precludes loading things
  119. like intelfb.
  120. endchoice
  121. config DRM_MGA
  122. tristate "Matrox g200/g400"
  123. depends on DRM && PCI
  124. select FW_LOADER
  125. help
  126. Choose this option if you have a Matrox G200, G400 or G450 graphics
  127. card. If M is selected, the module will be called mga. AGP
  128. support is required for this driver to work.
  129. config DRM_SIS
  130. tristate "SiS video cards"
  131. depends on DRM && AGP
  132. depends on FB_SIS || FB_SIS=n
  133. help
  134. Choose this option if you have a SiS 630 or compatible video
  135. chipset. If M is selected the module will be called sis. AGP
  136. support is required for this driver to work.
  137. config DRM_VIA
  138. tristate "Via unichrome video cards"
  139. depends on DRM && PCI
  140. help
  141. Choose this option if you have a Via unichrome or compatible video
  142. chipset. If M is selected the module will be called via.
  143. config DRM_SAVAGE
  144. tristate "Savage video cards"
  145. depends on DRM && PCI
  146. help
  147. Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
  148. chipset. If M is selected the module will be called savage.