Kconfig revision 1.1
11.1Sriastrad#
21.1Sriastrad# Drm device configuration
31.1Sriastrad#
41.1Sriastrad# This driver provides support for the
51.1Sriastrad# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
61.1Sriastrad#
71.1Sriastradmenuconfig DRM
81.1Sriastrad	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
91.1Sriastrad	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
101.1Sriastrad	select I2C
111.1Sriastrad	select I2C_ALGOBIT
121.1Sriastrad	select DMA_SHARED_BUFFER
131.1Sriastrad	help
141.1Sriastrad	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
151.1Sriastrad	  introduced in XFree86 4.0. If you say Y here, you need to select
161.1Sriastrad	  the module that's right for your graphics card from the list below.
171.1Sriastrad	  These modules provide support for synchronization, security, and
181.1Sriastrad	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
191.1Sriastrad	  details.  You should also select and configure AGP
201.1Sriastrad	  (/dev/agpgart) support if it is available for your platform.
211.1Sriastrad
221.1Sriastradconfig DRM_USB
231.1Sriastrad	tristate
241.1Sriastrad	depends on DRM
251.1Sriastrad	depends on USB_SUPPORT && USB_ARCH_HAS_HCD
261.1Sriastrad	select USB
271.1Sriastrad
281.1Sriastradconfig DRM_KMS_HELPER
291.1Sriastrad	tristate
301.1Sriastrad	depends on DRM
311.1Sriastrad	select FB
321.1Sriastrad	select FRAMEBUFFER_CONSOLE if !EXPERT
331.1Sriastrad	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
341.1Sriastrad	help
351.1Sriastrad	  FB and CRTC helpers for KMS drivers.
361.1Sriastrad
371.1Sriastradconfig DRM_LOAD_EDID_FIRMWARE
381.1Sriastrad	bool "Allow to specify an EDID data set instead of probing for it"
391.1Sriastrad	depends on DRM_KMS_HELPER
401.1Sriastrad	help
411.1Sriastrad	  Say Y here, if you want to use EDID data to be loaded from the
421.1Sriastrad	  /lib/firmware directory or one of the provided built-in
431.1Sriastrad	  data sets. This may be necessary, if the graphics adapter or
441.1Sriastrad	  monitor are unable to provide appropriate EDID data. Since this
451.1Sriastrad	  feature is provided as a workaround for broken hardware, the
461.1Sriastrad	  default case is N. Details and instructions how to build your own
471.1Sriastrad	  EDID data are given in Documentation/EDID/HOWTO.txt.
481.1Sriastrad
491.1Sriastradconfig DRM_TTM
501.1Sriastrad	tristate
511.1Sriastrad	depends on DRM
521.1Sriastrad	help
531.1Sriastrad	  GPU memory management subsystem for devices with multiple
541.1Sriastrad	  GPU memory types. Will be enabled automatically if a device driver
551.1Sriastrad	  uses it.
561.1Sriastrad
571.1Sriastradconfig DRM_GEM_CMA_HELPER
581.1Sriastrad	bool
591.1Sriastrad	depends on DRM
601.1Sriastrad	help
611.1Sriastrad	  Choose this if you need the GEM CMA helper functions
621.1Sriastrad
631.1Sriastradconfig DRM_KMS_CMA_HELPER
641.1Sriastrad	bool
651.1Sriastrad	select DRM_GEM_CMA_HELPER
661.1Sriastrad	select FB_SYS_FILLRECT
671.1Sriastrad	select FB_SYS_COPYAREA
681.1Sriastrad	select FB_SYS_IMAGEBLIT
691.1Sriastrad	help
701.1Sriastrad	  Choose this if you need the KMS CMA helper functions
711.1Sriastrad
721.1Sriastradconfig DRM_TDFX
731.1Sriastrad	tristate "3dfx Banshee/Voodoo3+"
741.1Sriastrad	depends on DRM && PCI
751.1Sriastrad	help
761.1Sriastrad	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
771.1Sriastrad	  graphics card.  If M is selected, the module will be called tdfx.
781.1Sriastrad
791.1Sriastradconfig DRM_R128
801.1Sriastrad	tristate "ATI Rage 128"
811.1Sriastrad	depends on DRM && PCI
821.1Sriastrad	select FW_LOADER
831.1Sriastrad	help
841.1Sriastrad	  Choose this option if you have an ATI Rage 128 graphics card.  If M
851.1Sriastrad	  is selected, the module will be called r128.  AGP support for
861.1Sriastrad	  this card is strongly suggested (unless you have a PCI version).
871.1Sriastrad
881.1Sriastradconfig DRM_RADEON
891.1Sriastrad	tristate "ATI Radeon"
901.1Sriastrad	depends on DRM && PCI
911.1Sriastrad	select FB_CFB_FILLRECT
921.1Sriastrad	select FB_CFB_COPYAREA
931.1Sriastrad	select FB_CFB_IMAGEBLIT
941.1Sriastrad	select FW_LOADER
951.1Sriastrad        select DRM_KMS_HELPER
961.1Sriastrad        select DRM_TTM
971.1Sriastrad	select POWER_SUPPLY
981.1Sriastrad	select HWMON
991.1Sriastrad	help
1001.1Sriastrad	  Choose this option if you have an ATI Radeon graphics card.  There
1011.1Sriastrad	  are both PCI and AGP versions.  You don't need to choose this to
1021.1Sriastrad	  run the Radeon in plain VGA mode.
1031.1Sriastrad
1041.1Sriastrad	  If M is selected, the module will be called radeon.
1051.1Sriastrad
1061.1Sriastradsource "drivers/gpu/drm/radeon/Kconfig"
1071.1Sriastrad
1081.1Sriastradsource "drivers/gpu/drm/nouveau/Kconfig"
1091.1Sriastrad
1101.1Sriastradconfig DRM_I810
1111.1Sriastrad	tristate "Intel I810"
1121.1Sriastrad	# !PREEMPT because of missing ioctl locking
1131.1Sriastrad	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
1141.1Sriastrad	help
1151.1Sriastrad	  Choose this option if you have an Intel I810 graphics card.  If M is
1161.1Sriastrad	  selected, the module will be called i810.  AGP support is required
1171.1Sriastrad	  for this driver to work.
1181.1Sriastrad
1191.1Sriastradconfig DRM_I915
1201.1Sriastrad	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
1211.1Sriastrad	depends on DRM
1221.1Sriastrad	depends on AGP
1231.1Sriastrad	depends on AGP_INTEL
1241.1Sriastrad	# we need shmfs for the swappable backing store, and in particular
1251.1Sriastrad	# the shmem_readpage() which depends upon tmpfs
1261.1Sriastrad	select SHMEM
1271.1Sriastrad	select TMPFS
1281.1Sriastrad	select DRM_KMS_HELPER
1291.1Sriastrad	select FB_CFB_FILLRECT
1301.1Sriastrad	select FB_CFB_COPYAREA
1311.1Sriastrad	select FB_CFB_IMAGEBLIT
1321.1Sriastrad	# i915 depends on ACPI_VIDEO when ACPI is enabled
1331.1Sriastrad	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
1341.1Sriastrad	select BACKLIGHT_LCD_SUPPORT if ACPI
1351.1Sriastrad	select BACKLIGHT_CLASS_DEVICE if ACPI
1361.1Sriastrad	select VIDEO_OUTPUT_CONTROL if ACPI
1371.1Sriastrad	select INPUT if ACPI
1381.1Sriastrad	select ACPI_VIDEO if ACPI
1391.1Sriastrad	select ACPI_BUTTON if ACPI
1401.1Sriastrad	help
1411.1Sriastrad	  Choose this option if you have a system that has "Intel Graphics
1421.1Sriastrad	  Media Accelerator" or "HD Graphics" integrated graphics,
1431.1Sriastrad	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
1441.1Sriastrad	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
1451.1Sriastrad	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.
1461.1Sriastrad	  If M is selected, the module will be called i915.  AGP support
1471.1Sriastrad	  is required for this driver to work. This driver is used by
1481.1Sriastrad	  the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
1491.1Sriastrad	  replaces the older i830 module that supported a subset of the
1501.1Sriastrad	  hardware in older X.org releases.
1511.1Sriastrad
1521.1Sriastrad	  Note that the older i810/i815 chipsets require the use of the
1531.1Sriastrad	  i810 driver instead, and the Atom z5xx series has an entirely
1541.1Sriastrad	  different implementation.
1551.1Sriastrad
1561.1Sriastradconfig DRM_I915_KMS
1571.1Sriastrad	bool "Enable modesetting on intel by default"
1581.1Sriastrad	depends on DRM_I915
1591.1Sriastrad	help
1601.1Sriastrad	  Choose this option if you want kernel modesetting enabled by default,
1611.1Sriastrad	  and you have a new enough userspace to support this. Running old
1621.1Sriastrad	  userspaces with this enabled will cause pain.  Note that this causes
1631.1Sriastrad	  the driver to bind to PCI devices, which precludes loading things
1641.1Sriastrad	  like intelfb.
1651.1Sriastrad
1661.1Sriastradconfig DRM_MGA
1671.1Sriastrad	tristate "Matrox g200/g400"
1681.1Sriastrad	depends on DRM && PCI
1691.1Sriastrad	select FW_LOADER
1701.1Sriastrad	help
1711.1Sriastrad	  Choose this option if you have a Matrox G200, G400 or G450 graphics
1721.1Sriastrad	  card.  If M is selected, the module will be called mga.  AGP
1731.1Sriastrad	  support is required for this driver to work.
1741.1Sriastrad
1751.1Sriastradconfig DRM_SIS
1761.1Sriastrad	tristate "SiS video cards"
1771.1Sriastrad	depends on DRM && AGP
1781.1Sriastrad	depends on FB_SIS || FB_SIS=n
1791.1Sriastrad	help
1801.1Sriastrad	  Choose this option if you have a SiS 630 or compatible video
1811.1Sriastrad          chipset. If M is selected the module will be called sis. AGP
1821.1Sriastrad          support is required for this driver to work.
1831.1Sriastrad
1841.1Sriastradconfig DRM_VIA
1851.1Sriastrad	tristate "Via unichrome video cards"
1861.1Sriastrad	depends on DRM && PCI
1871.1Sriastrad	help
1881.1Sriastrad	  Choose this option if you have a Via unichrome or compatible video
1891.1Sriastrad	  chipset. If M is selected the module will be called via.
1901.1Sriastrad
1911.1Sriastradconfig DRM_SAVAGE
1921.1Sriastrad	tristate "Savage video cards"
1931.1Sriastrad	depends on DRM && PCI
1941.1Sriastrad	help
1951.1Sriastrad	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
1961.1Sriastrad	  chipset. If M is selected the module will be called savage.
1971.1Sriastrad
1981.1Sriastradsource "drivers/gpu/drm/exynos/Kconfig"
1991.1Sriastrad
2001.1Sriastradsource "drivers/gpu/drm/vmwgfx/Kconfig"
2011.1Sriastrad
2021.1Sriastradsource "drivers/gpu/drm/gma500/Kconfig"
2031.1Sriastrad
2041.1Sriastradsource "drivers/gpu/drm/udl/Kconfig"
2051.1Sriastrad
2061.1Sriastradsource "drivers/gpu/drm/ast/Kconfig"
2071.1Sriastrad
2081.1Sriastradsource "drivers/gpu/drm/mgag200/Kconfig"
2091.1Sriastrad
2101.1Sriastradsource "drivers/gpu/drm/cirrus/Kconfig"
2111.1Sriastrad
2121.1Sriastradsource "drivers/gpu/drm/shmobile/Kconfig"
2131.1Sriastrad
2141.1Sriastradsource "drivers/gpu/drm/tegra/Kconfig"
215