]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/gpu/drm/Kconfig
drm/omap: move out of staging
[karo-tx-linux.git] / drivers / gpu / drm / Kconfig
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
22 config DRM_USB
23         tristate
24         depends on DRM
25         depends on USB_SUPPORT && USB_ARCH_HAS_HCD
26         select USB
27
28 config DRM_KMS_HELPER
29         tristate
30         depends on DRM
31         select FB
32         select FRAMEBUFFER_CONSOLE if !EXPERT
33         select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
34         help
35           FB and CRTC helpers for KMS drivers.
36
37 config 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
49 config DRM_TTM
50         tristate
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
57 config DRM_GEM_CMA_HELPER
58         bool
59         depends on DRM
60         help
61           Choose this if you need the GEM CMA helper functions
62
63 config 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
72 source "drivers/gpu/drm/i2c/Kconfig"
73
74 config 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
81 config DRM_R128
82         tristate "ATI Rage 128"
83         depends on DRM && PCI
84         select FW_LOADER
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
90 config DRM_RADEON
91         tristate "ATI Radeon"
92         depends on DRM && PCI
93         select FB_CFB_FILLRECT
94         select FB_CFB_COPYAREA
95         select FB_CFB_IMAGEBLIT
96         select FW_LOADER
97         select DRM_KMS_HELPER
98         select DRM_TTM
99         select POWER_SUPPLY
100         select HWMON
101         select BACKLIGHT_CLASS_DEVICE
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
105           run the Radeon in plain VGA mode.
106
107           If M is selected, the module will be called radeon.
108
109 source "drivers/gpu/drm/radeon/Kconfig"
110
111 source "drivers/gpu/drm/nouveau/Kconfig"
112
113 config DRM_I810
114         tristate "Intel I810"
115         # !PREEMPT because of missing ioctl locking
116         depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
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
122 config DRM_I915
123         tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
124         depends on DRM
125         depends on AGP
126         depends on AGP_INTEL
127         # we need shmfs for the swappable backing store, and in particular
128         # the shmem_readpage() which depends upon tmpfs
129         select SHMEM
130         select TMPFS
131         select DRM_KMS_HELPER
132         select FB_CFB_FILLRECT
133         select FB_CFB_COPYAREA
134         select FB_CFB_IMAGEBLIT
135         # i915 depends on ACPI_VIDEO when ACPI is enabled
136         # but for select to work, need to select ACPI_VIDEO's dependencies, ick
137         select BACKLIGHT_LCD_SUPPORT if ACPI
138         select BACKLIGHT_CLASS_DEVICE if ACPI
139         select VIDEO_OUTPUT_CONTROL if ACPI
140         select INPUT if ACPI
141         select ACPI_VIDEO if ACPI
142         select ACPI_BUTTON if ACPI
143         help
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.
158
159 config DRM_I915_KMS
160         bool "Enable modesetting on intel by default"
161         depends on DRM_I915
162         help
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.
168
169 config DRM_MGA
170         tristate "Matrox g200/g400"
171         depends on DRM && PCI
172         select FW_LOADER
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
178 config DRM_SIS
179         tristate "SiS video cards"
180         depends on DRM && AGP
181         depends on FB_SIS || FB_SIS=n
182         help
183           Choose this option if you have a SiS 630 or compatible video
184           chipset. If M is selected the module will be called sis. AGP
185           support is required for this driver to work.
186
187 config DRM_VIA
188         tristate "Via unichrome video cards"
189         depends on DRM && PCI
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
194 config DRM_SAVAGE
195         tristate "Savage video cards"
196         depends on DRM && PCI
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.
200
201 source "drivers/gpu/drm/exynos/Kconfig"
202
203 source "drivers/gpu/drm/vmwgfx/Kconfig"
204
205 source "drivers/gpu/drm/gma500/Kconfig"
206
207 source "drivers/gpu/drm/udl/Kconfig"
208
209 source "drivers/gpu/drm/ast/Kconfig"
210
211 source "drivers/gpu/drm/mgag200/Kconfig"
212
213 source "drivers/gpu/drm/cirrus/Kconfig"
214
215 source "drivers/gpu/drm/shmobile/Kconfig"
216
217 source "drivers/gpu/drm/tegra/Kconfig"
218
219 source "drivers/gpu/drm/omapdrm/Kconfig"