xref: /linux/drivers/gpu/drm/Kconfig (revision 8c52da503b7e4cf961807f11824e3258ef9f7f1c)
1c0e09200SDave Airlie#
2c0e09200SDave Airlie# Drm device configuration
3c0e09200SDave Airlie#
4c0e09200SDave Airlie# This driver provides support for the
5c0e09200SDave Airlie# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
6c0e09200SDave Airlie#
7c0e09200SDave Airliemenuconfig DRM
8c0e09200SDave Airlie	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
9e798ba57SHugh Dickins	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
1057a6297eSDave Airlie	select I2C
1157a6297eSDave Airlie	select I2C_ALGOBIT
12c0e09200SDave Airlie	help
13c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
14c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
15c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
16c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
17c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
18c0e09200SDave Airlie	  details.  You should also select and configure AGP
19c0e09200SDave Airlie	  (/dev/agpgart) support.
20c0e09200SDave Airlie
21ba4e7d97SThomas Hellstromconfig DRM_TTM
22771fe6b9SJerome Glisse	tristate
23ba4e7d97SThomas Hellstrom	depends on DRM
24ba4e7d97SThomas Hellstrom	help
25ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
26ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
27ba4e7d97SThomas Hellstrom	  uses it.
28ba4e7d97SThomas Hellstrom
29c0e09200SDave Airlieconfig DRM_TDFX
30c0e09200SDave Airlie	tristate "3dfx Banshee/Voodoo3+"
31c0e09200SDave Airlie	depends on DRM && PCI
32c0e09200SDave Airlie	help
33c0e09200SDave Airlie	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
34c0e09200SDave Airlie	  graphics card.  If M is selected, the module will be called tdfx.
35c0e09200SDave Airlie
36c0e09200SDave Airlieconfig DRM_R128
37c0e09200SDave Airlie	tristate "ATI Rage 128"
38c0e09200SDave Airlie	depends on DRM && PCI
39c0e09200SDave Airlie	help
40c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
41c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
42c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
43c0e09200SDave Airlie
44c0e09200SDave Airlieconfig DRM_RADEON
45c0e09200SDave Airlie	tristate "ATI Radeon"
46c0e09200SDave Airlie	depends on DRM && PCI
47771fe6b9SJerome Glisse	select FB_CFB_FILLRECT
48771fe6b9SJerome Glisse	select FB_CFB_COPYAREA
49771fe6b9SJerome Glisse	select FB_CFB_IMAGEBLIT
50771fe6b9SJerome Glisse	select FB
51771fe6b9SJerome Glisse	select FRAMEBUFFER_CONSOLE if !EMBEDDED
52c0e09200SDave Airlie	help
53c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
54c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
55c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
56c0e09200SDave Airlie
57c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
58c0e09200SDave Airlie
59c0e09200SDave Airlieconfig DRM_I810
60c0e09200SDave Airlie	tristate "Intel I810"
61c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
62c0e09200SDave Airlie	help
63c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
64c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
65c0e09200SDave Airlie	  for this driver to work.
66c0e09200SDave Airlie
67c0e09200SDave Airliechoice
68c0e09200SDave Airlie	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
69c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
70c0e09200SDave Airlie	optional
71c0e09200SDave Airlie
72c0e09200SDave Airlieconfig DRM_I830
73c0e09200SDave Airlie	tristate "i830 driver"
74c0e09200SDave Airlie	help
75c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
76c0e09200SDave Airlie	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
77c0e09200SDave Airlie	  module will be called i830.  AGP support is required for this driver
78c0e09200SDave Airlie	  to work. This driver is used by the older X releases X.org 6.7 and
79c0e09200SDave Airlie	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
80c0e09200SDave Airlie	  will load the correct one.
81c0e09200SDave Airlie
82c0e09200SDave Airlieconfig DRM_I915
8331db5645SLen Brown	tristate "i915 driver"
84*8c52da50SEric Anholt	depends on AGP_INTEL
8506d9f33cSEric Anholt	select FB_CFB_FILLRECT
8606d9f33cSEric Anholt	select FB_CFB_COPYAREA
8706d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
88d2f59357SIngo Molnar	select FB
89f29ce727SJesse Barnes	select FRAMEBUFFER_CONSOLE if !EMBEDDED
9031db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
9131db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
9231db5645SLen Brown	select VIDEO_OUTPUT_CONTROL if ACPI
9331db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
9431db5645SLen Brown	select INPUT if ACPI
9531db5645SLen Brown	select ACPI_VIDEO if ACPI
96c0e09200SDave Airlie	help
97c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
98c0e09200SDave Airlie	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
99c0e09200SDave Airlie	  module will be called i915.  AGP support is required for this driver
100c0e09200SDave Airlie	  to work. This driver is used by the Intel driver in X.org 6.8 and
101c0e09200SDave Airlie	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
102c0e09200SDave Airlie	  the X server will load the correct one.
103c0e09200SDave Airlie
10479e53945SJesse Barnesconfig DRM_I915_KMS
10579e53945SJesse Barnes	bool "Enable modesetting on intel by default"
10679e53945SJesse Barnes	depends on DRM_I915
10779e53945SJesse Barnes	help
10879e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
10979e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
11079e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
11179e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
11279e53945SJesse Barnes	  like intelfb.
11379e53945SJesse Barnes
114a1a5c3b9SKrzysztof Heltendchoice
11579e53945SJesse Barnes
116c0e09200SDave Airlieconfig DRM_MGA
117c0e09200SDave Airlie	tristate "Matrox g200/g400"
118c0e09200SDave Airlie	depends on DRM
119c0e09200SDave Airlie	help
120c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
121c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
122c0e09200SDave Airlie	  support is required for this driver to work.
123c0e09200SDave Airlie
124c0e09200SDave Airlieconfig DRM_SIS
125c0e09200SDave Airlie	tristate "SiS video cards"
126c0e09200SDave Airlie	depends on DRM && AGP
127dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
128c0e09200SDave Airlie	help
129c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
130c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
131c0e09200SDave Airlie          support is required for this driver to work.
132c0e09200SDave Airlie
133c0e09200SDave Airlieconfig DRM_VIA
134c0e09200SDave Airlie	tristate "Via unichrome video cards"
135c0e09200SDave Airlie	depends on DRM
136c0e09200SDave Airlie	help
137c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
138c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
139c0e09200SDave Airlie
140c0e09200SDave Airlieconfig DRM_SAVAGE
141c0e09200SDave Airlie	tristate "Savage video cards"
142c0e09200SDave Airlie	depends on DRM
143c0e09200SDave Airlie	help
144c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
145c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
146