drm/i915: export error state ref handling
[deliverable/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 HDMI
11 select I2C
12 select I2C_ALGOBIT
13 select DMA_SHARED_BUFFER
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
21 (/dev/agpgart) support if it is available for your platform.
22
23 config DRM_USB
24 tristate
25 depends on DRM
26 depends on USB_SUPPORT && USB_ARCH_HAS_HCD
27 select USB
28
29 config DRM_KMS_HELPER
30 tristate
31 depends on DRM
32 select FB
33 select FRAMEBUFFER_CONSOLE if !EXPERT
34 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
35 help
36 FB and CRTC helpers for KMS drivers.
37
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
50 config DRM_TTM
51 tristate
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
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
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
73 source "drivers/gpu/drm/i2c/Kconfig"
74
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
82 config DRM_R128
83 tristate "ATI Rage 128"
84 depends on DRM && PCI
85 select FW_LOADER
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
94 select FB_CFB_FILLRECT
95 select FB_CFB_COPYAREA
96 select FB_CFB_IMAGEBLIT
97 select FW_LOADER
98 select DRM_KMS_HELPER
99 select DRM_TTM
100 select POWER_SUPPLY
101 select HWMON
102 select BACKLIGHT_CLASS_DEVICE
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
106 run the Radeon in plain VGA mode.
107
108 If M is selected, the module will be called radeon.
109
110 source "drivers/gpu/drm/radeon/Kconfig"
111
112 source "drivers/gpu/drm/nouveau/Kconfig"
113
114 config DRM_I810
115 tristate "Intel I810"
116 # !PREEMPT because of missing ioctl locking
117 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
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
123 config DRM_I915
124 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
125 depends on DRM
126 depends on AGP
127 depends on AGP_INTEL
128 # we need shmfs for the swappable backing store, and in particular
129 # the shmem_readpage() which depends upon tmpfs
130 select SHMEM
131 select TMPFS
132 select DRM_KMS_HELPER
133 select FB_CFB_FILLRECT
134 select FB_CFB_COPYAREA
135 select FB_CFB_IMAGEBLIT
136 # i915 depends on ACPI_VIDEO when ACPI is enabled
137 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
138 select BACKLIGHT_LCD_SUPPORT if ACPI
139 select BACKLIGHT_CLASS_DEVICE if ACPI
140 select VIDEO_OUTPUT_CONTROL if ACPI
141 select INPUT if ACPI
142 select THERMAL if ACPI
143 select ACPI_VIDEO if ACPI
144 select ACPI_BUTTON if ACPI
145 help
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.
160
161 config DRM_I915_KMS
162 bool "Enable modesetting on intel by default"
163 depends on DRM_I915
164 help
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.
170
171 config DRM_MGA
172 tristate "Matrox g200/g400"
173 depends on DRM && PCI
174 select FW_LOADER
175 help
176 Choose this option if you have a Matrox G200, G400 or G450 graphics
177 card. If M is selected, the module will be called mga. AGP
178 support is required for this driver to work.
179
180 config DRM_SIS
181 tristate "SiS video cards"
182 depends on DRM && AGP
183 depends on FB_SIS || FB_SIS=n
184 help
185 Choose this option if you have a SiS 630 or compatible video
186 chipset. If M is selected the module will be called sis. AGP
187 support is required for this driver to work.
188
189 config DRM_VIA
190 tristate "Via unichrome video cards"
191 depends on DRM && PCI
192 help
193 Choose this option if you have a Via unichrome or compatible video
194 chipset. If M is selected the module will be called via.
195
196 config DRM_SAVAGE
197 tristate "Savage video cards"
198 depends on DRM && PCI
199 help
200 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
201 chipset. If M is selected the module will be called savage.
202
203 source "drivers/gpu/drm/exynos/Kconfig"
204
205 source "drivers/gpu/drm/vmwgfx/Kconfig"
206
207 source "drivers/gpu/drm/gma500/Kconfig"
208
209 source "drivers/gpu/drm/udl/Kconfig"
210
211 source "drivers/gpu/drm/ast/Kconfig"
212
213 source "drivers/gpu/drm/mgag200/Kconfig"
214
215 source "drivers/gpu/drm/cirrus/Kconfig"
216
217 source "drivers/gpu/drm/rcar-du/Kconfig"
218
219 source "drivers/gpu/drm/shmobile/Kconfig"
220
221 source "drivers/gpu/drm/omapdrm/Kconfig"
222
223 source "drivers/gpu/drm/tilcdc/Kconfig"
224
225 source "drivers/gpu/drm/qxl/Kconfig"
This page took 0.040079 seconds and 5 git commands to generate.