drm/i915: export error state ref handling
[deliverable/linux.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
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
23config 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 29config 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
38config 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 50config 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
58config 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
64config 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
73source "drivers/gpu/drm/i2c/Kconfig"
74
1da177e4
LT
75config 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
82config 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
91config 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
110source "drivers/gpu/drm/radeon/Kconfig"
111
f3c93cbd
BS
112source "drivers/gpu/drm/nouveau/Kconfig"
113
1da177e4
LT
114config 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 123config 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
161config 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
1da177e4
LT
171config DRM_MGA
172 tristate "Matrox g200/g400"
f5f05c8a 173 depends on DRM && PCI
ece2be79 174 select FW_LOADER
1da177e4
LT
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
180config DRM_SIS
181 tristate "SiS video cards"
182 depends on DRM && AGP
dfcf96d0 183 depends on FB_SIS || FB_SIS=n
1da177e4 184 help
bc5f4523 185 Choose this option if you have a SiS 630 or compatible video
1da177e4
LT
186 chipset. If M is selected the module will be called sis. AGP
187 support is required for this driver to work.
188
22f579c6
DA
189config DRM_VIA
190 tristate "Via unichrome video cards"
f5f05c8a 191 depends on DRM && PCI
22f579c6
DA
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
282a1674
DA
196config DRM_SAVAGE
197 tristate "Savage video cards"
f5f05c8a 198 depends on DRM && PCI
282a1674
DA
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.
1c248b7d 202
5a7b74be
TH
203source "drivers/gpu/drm/exynos/Kconfig"
204
205source "drivers/gpu/drm/vmwgfx/Kconfig"
91c75492
AC
206
207source "drivers/gpu/drm/gma500/Kconfig"
208
5320918b 209source "drivers/gpu/drm/udl/Kconfig"
312fec14
DA
210
211source "drivers/gpu/drm/ast/Kconfig"
212
414c4531 213source "drivers/gpu/drm/mgag200/Kconfig"
f9aa76a8
DA
214
215source "drivers/gpu/drm/cirrus/Kconfig"
51c13278 216
4bf8e196
LP
217source "drivers/gpu/drm/rcar-du/Kconfig"
218
51c13278 219source "drivers/gpu/drm/shmobile/Kconfig"
d8f4a9ed 220
8bb0daff 221source "drivers/gpu/drm/omapdrm/Kconfig"
ca18e142 222
16ea975e 223source "drivers/gpu/drm/tilcdc/Kconfig"
f64122c1
DA
224
225source "drivers/gpu/drm/qxl/Kconfig"
This page took 0.597368 seconds and 5 git commands to generate.