Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | # | |
179b025f | 7 | menuconfig DRM |
1da177e4 | 8 | tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" |
cc6a36f2 | 9 | depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA |
10a85120 | 10 | select HDMI |
57a6297e DA |
11 | select I2C |
12 | select I2C_ALGOBIT | |
3248877e | 13 | select DMA_SHARED_BUFFER |
1da177e4 LT |
14 | help |
15 | Kernel-level support for the Direct Rendering Infrastructure (DRI) | |
16 | introduced in XFree86 4.0. If you say Y here, you need to select | |
17 | the module that's right for your graphics card from the list below. | |
18 | These modules provide support for synchronization, security, and | |
19 | DMA transfers. Please see <http://dri.sourceforge.net/> for more | |
20 | details. You should also select and configure AGP | |
dcdb1674 | 21 | (/dev/agpgart) support if it is available for your platform. |
1da177e4 | 22 | |
9c1dfc55 DA |
23 | config DRM_USB |
24 | tristate | |
25 | depends on DRM | |
95ca19cf | 26 | depends on USB_SUPPORT && USB_ARCH_HAS_HCD |
9c1dfc55 DA |
27 | select USB |
28 | ||
6fcefd56 | 29 | config DRM_KMS_HELPER |
13a8195b DA |
30 | tristate |
31 | depends on DRM | |
32 | select FB | |
6a108a14 | 33 | select FRAMEBUFFER_CONSOLE if !EXPERT |
bf5192ed | 34 | select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE |
13a8195b | 35 | help |
6fcefd56 | 36 | FB and CRTC helpers for KMS drivers. |
13a8195b | 37 | |
da0df92b CE |
38 | config DRM_LOAD_EDID_FIRMWARE |
39 | bool "Allow to specify an EDID data set instead of probing for it" | |
40 | depends on DRM_KMS_HELPER | |
41 | help | |
42 | Say Y here, if you want to use EDID data to be loaded from the | |
43 | /lib/firmware directory or one of the provided built-in | |
44 | data sets. This may be necessary, if the graphics adapter or | |
45 | monitor are unable to provide appropriate EDID data. Since this | |
46 | feature is provided as a workaround for broken hardware, the | |
47 | default case is N. Details and instructions how to build your own | |
48 | EDID data are given in Documentation/EDID/HOWTO.txt. | |
49 | ||
ba4e7d97 | 50 | config DRM_TTM |
771fe6b9 | 51 | tristate |
ba4e7d97 TH |
52 | depends on DRM |
53 | help | |
54 | GPU memory management subsystem for devices with multiple | |
55 | GPU memory types. Will be enabled automatically if a device driver | |
56 | uses it. | |
57 | ||
b9d47450 SH |
58 | config DRM_GEM_CMA_HELPER |
59 | bool | |
60 | depends on DRM | |
61 | help | |
62 | Choose this if you need the GEM CMA helper functions | |
63 | ||
2e3b3c42 LPC |
64 | config DRM_KMS_CMA_HELPER |
65 | bool | |
66 | select DRM_GEM_CMA_HELPER | |
67 | select FB_SYS_FILLRECT | |
68 | select FB_SYS_COPYAREA | |
69 | select FB_SYS_IMAGEBLIT | |
70 | help | |
71 | Choose this if you need the KMS CMA helper functions | |
72 | ||
6504d0d9 RC |
73 | source "drivers/gpu/drm/i2c/Kconfig" |
74 | ||
1da177e4 LT |
75 | config DRM_TDFX |
76 | tristate "3dfx Banshee/Voodoo3+" | |
77 | depends on DRM && PCI | |
78 | help | |
79 | Choose this option if you have a 3dfx Banshee or Voodoo3 (or later), | |
80 | graphics card. If M is selected, the module will be called tdfx. | |
81 | ||
1da177e4 LT |
82 | config DRM_R128 |
83 | tristate "ATI Rage 128" | |
84 | depends on DRM && PCI | |
52f97df5 | 85 | select FW_LOADER |
1da177e4 LT |
86 | help |
87 | Choose this option if you have an ATI Rage 128 graphics card. If M | |
88 | is selected, the module will be called r128. AGP support for | |
89 | this card is strongly suggested (unless you have a PCI version). | |
90 | ||
91 | config DRM_RADEON | |
92 | tristate "ATI Radeon" | |
93 | depends on DRM && PCI | |
771fe6b9 JG |
94 | select FB_CFB_FILLRECT |
95 | select FB_CFB_COPYAREA | |
96 | select FB_CFB_IMAGEBLIT | |
70967ab9 | 97 | select FW_LOADER |
a0cdc649 DA |
98 | select DRM_KMS_HELPER |
99 | select DRM_TTM | |
5d9b7e2d | 100 | select POWER_SUPPLY |
21a8122a | 101 | select HWMON |
14adc892 | 102 | select BACKLIGHT_CLASS_DEVICE |
1da177e4 LT |
103 | help |
104 | Choose this option if you have an ATI Radeon graphics card. There | |
105 | are both PCI and AGP versions. You don't need to choose this to | |
7b9af345 | 106 | run the Radeon in plain VGA mode. |
bc5f4523 | 107 | |
1da177e4 LT |
108 | If M is selected, the module will be called radeon. |
109 | ||
f71d0187 DA |
110 | source "drivers/gpu/drm/radeon/Kconfig" |
111 | ||
f3c93cbd BS |
112 | source "drivers/gpu/drm/nouveau/Kconfig" |
113 | ||
1da177e4 LT |
114 | config DRM_I810 |
115 | tristate "Intel I810" | |
1f692a14 AB |
116 | # !PREEMPT because of missing ioctl locking |
117 | depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) | |
1da177e4 LT |
118 | help |
119 | Choose this option if you have an Intel I810 graphics card. If M is | |
120 | selected, the module will be called i810. AGP support is required | |
121 | for this driver to work. | |
122 | ||
1da177e4 | 123 | config DRM_I915 |
7f506847 AB |
124 | tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" |
125 | depends on DRM | |
126 | depends on AGP | |
8c52da50 | 127 | depends on AGP_INTEL |
f7ab9b40 CW |
128 | # we need shmfs for the swappable backing store, and in particular |
129 | # the shmem_readpage() which depends upon tmpfs | |
ca9ab100 | 130 | select SHMEM |
f7ab9b40 | 131 | select TMPFS |
6fcefd56 | 132 | select DRM_KMS_HELPER |
06d9f33c EA |
133 | select FB_CFB_FILLRECT |
134 | select FB_CFB_COPYAREA | |
135 | select FB_CFB_IMAGEBLIT | |
31db5645 LB |
136 | # i915 depends on ACPI_VIDEO when ACPI is enabled |
137 | # but for select to work, need to select ACPI_VIDEO's dependencies, ick | |
44a1dabf | 138 | select BACKLIGHT_LCD_SUPPORT if ACPI |
31db5645 | 139 | select BACKLIGHT_CLASS_DEVICE if ACPI |
cbf15bdb | 140 | select VIDEO_OUTPUT_CONTROL if ACPI |
31db5645 | 141 | select INPUT if ACPI |
1107276c | 142 | select THERMAL if ACPI |
31db5645 | 143 | select ACPI_VIDEO if ACPI |
c1c7af60 | 144 | select ACPI_BUTTON if ACPI |
1da177e4 | 145 | help |
7f506847 AB |
146 | Choose this option if you have a system that has "Intel Graphics |
147 | Media Accelerator" or "HD Graphics" integrated graphics, | |
148 | including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, | |
149 | G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3, | |
150 | Core i5, Core i7 as well as Atom CPUs with integrated graphics. | |
151 | If M is selected, the module will be called i915. AGP support | |
152 | is required for this driver to work. This driver is used by | |
153 | the Intel driver in X.org 6.8 and XFree86 4.4 and above. It | |
154 | replaces the older i830 module that supported a subset of the | |
155 | hardware in older X.org releases. | |
156 | ||
157 | Note that the older i810/i815 chipsets require the use of the | |
158 | i810 driver instead, and the Atom z5xx series has an entirely | |
159 | different implementation. | |
bc5f4523 | 160 | |
79e53945 JB |
161 | config DRM_I915_KMS |
162 | bool "Enable modesetting on intel by default" | |
163 | depends on DRM_I915 | |
164 | help | |
a1a5c3b9 KH |
165 | Choose this option if you want kernel modesetting enabled by default, |
166 | and you have a new enough userspace to support this. Running old | |
167 | userspaces with this enabled will cause pain. Note that this causes | |
168 | the driver to bind to PCI devices, which precludes loading things | |
169 | like intelfb. | |
79e53945 | 170 | |
99486b8e JT |
171 | config DRM_I915_PRELIMINARY_HW_SUPPORT |
172 | bool "Enable preliminary support for prerelease Intel hardware by default" | |
173 | depends on DRM_I915 | |
174 | help | |
175 | Choose this option if you have prerelease Intel hardware and want the | |
176 | i915 driver to support it by default. You can enable such support at | |
177 | runtime with the module option i915.preliminary_hw_support=1; this | |
178 | option changes the default for that module option. | |
179 | ||
180 | If in doubt, say "N". | |
181 | ||
1da177e4 LT |
182 | config DRM_MGA |
183 | tristate "Matrox g200/g400" | |
f5f05c8a | 184 | depends on DRM && PCI |
ece2be79 | 185 | select FW_LOADER |
1da177e4 LT |
186 | help |
187 | Choose this option if you have a Matrox G200, G400 or G450 graphics | |
188 | card. If M is selected, the module will be called mga. AGP | |
189 | support is required for this driver to work. | |
190 | ||
191 | config DRM_SIS | |
192 | tristate "SiS video cards" | |
193 | depends on DRM && AGP | |
dfcf96d0 | 194 | depends on FB_SIS || FB_SIS=n |
1da177e4 | 195 | help |
bc5f4523 | 196 | Choose this option if you have a SiS 630 or compatible video |
1da177e4 LT |
197 | chipset. If M is selected the module will be called sis. AGP |
198 | support is required for this driver to work. | |
199 | ||
22f579c6 DA |
200 | config DRM_VIA |
201 | tristate "Via unichrome video cards" | |
f5f05c8a | 202 | depends on DRM && PCI |
22f579c6 DA |
203 | help |
204 | Choose this option if you have a Via unichrome or compatible video | |
205 | chipset. If M is selected the module will be called via. | |
206 | ||
282a1674 DA |
207 | config DRM_SAVAGE |
208 | tristate "Savage video cards" | |
f5f05c8a | 209 | depends on DRM && PCI |
282a1674 DA |
210 | help |
211 | Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister | |
212 | chipset. If M is selected the module will be called savage. | |
1c248b7d | 213 | |
5a7b74be TH |
214 | source "drivers/gpu/drm/exynos/Kconfig" |
215 | ||
216 | source "drivers/gpu/drm/vmwgfx/Kconfig" | |
91c75492 AC |
217 | |
218 | source "drivers/gpu/drm/gma500/Kconfig" | |
219 | ||
5320918b | 220 | source "drivers/gpu/drm/udl/Kconfig" |
312fec14 DA |
221 | |
222 | source "drivers/gpu/drm/ast/Kconfig" | |
223 | ||
414c4531 | 224 | source "drivers/gpu/drm/mgag200/Kconfig" |
f9aa76a8 DA |
225 | |
226 | source "drivers/gpu/drm/cirrus/Kconfig" | |
51c13278 | 227 | |
4bf8e196 LP |
228 | source "drivers/gpu/drm/rcar-du/Kconfig" |
229 | ||
51c13278 | 230 | source "drivers/gpu/drm/shmobile/Kconfig" |
d8f4a9ed | 231 | |
8bb0daff | 232 | source "drivers/gpu/drm/omapdrm/Kconfig" |
ca18e142 | 233 | |
16ea975e | 234 | source "drivers/gpu/drm/tilcdc/Kconfig" |
f64122c1 DA |
235 | |
236 | source "drivers/gpu/drm/qxl/Kconfig" | |
c8afe684 RC |
237 | |
238 | source "drivers/gpu/drm/msm/Kconfig" |