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