Kconfig 6.1 KB

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