drm/edid: limit printk when facing bad edid
[linux-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
1da177e4
LT
57config DRM_TDFX
58 tristate "3dfx Banshee/Voodoo3+"
59 depends on DRM && PCI
60 help
61 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
62 graphics card. If M is selected, the module will be called tdfx.
63
1da177e4
LT
64config DRM_R128
65 tristate "ATI Rage 128"
66 depends on DRM && PCI
52f97df5 67 select FW_LOADER
1da177e4
LT
68 help
69 Choose this option if you have an ATI Rage 128 graphics card. If M
70 is selected, the module will be called r128. AGP support for
71 this card is strongly suggested (unless you have a PCI version).
72
73config DRM_RADEON
74 tristate "ATI Radeon"
75 depends on DRM && PCI
771fe6b9
JG
76 select FB_CFB_FILLRECT
77 select FB_CFB_COPYAREA
78 select FB_CFB_IMAGEBLIT
70967ab9 79 select FW_LOADER
a0cdc649
DA
80 select DRM_KMS_HELPER
81 select DRM_TTM
5d9b7e2d 82 select POWER_SUPPLY
21a8122a 83 select HWMON
1da177e4
LT
84 help
85 Choose this option if you have an ATI Radeon graphics card. There
86 are both PCI and AGP versions. You don't need to choose this to
7b9af345 87 run the Radeon in plain VGA mode.
bc5f4523 88
1da177e4
LT
89 If M is selected, the module will be called radeon.
90
f71d0187
DA
91source "drivers/gpu/drm/radeon/Kconfig"
92
f3c93cbd
BS
93source "drivers/gpu/drm/nouveau/Kconfig"
94
1da177e4
LT
95config DRM_I810
96 tristate "Intel I810"
1f692a14
AB
97 # !PREEMPT because of missing ioctl locking
98 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
1da177e4
LT
99 help
100 Choose this option if you have an Intel I810 graphics card. If M is
101 selected, the module will be called i810. AGP support is required
102 for this driver to work.
103
1da177e4 104config DRM_I915
7f506847
AB
105 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
106 depends on DRM
107 depends on AGP
8c52da50 108 depends on AGP_INTEL
f7ab9b40
CW
109 # we need shmfs for the swappable backing store, and in particular
110 # the shmem_readpage() which depends upon tmpfs
ca9ab100 111 select SHMEM
f7ab9b40 112 select TMPFS
6fcefd56 113 select DRM_KMS_HELPER
06d9f33c
EA
114 select FB_CFB_FILLRECT
115 select FB_CFB_COPYAREA
116 select FB_CFB_IMAGEBLIT
31db5645
LB
117 # i915 depends on ACPI_VIDEO when ACPI is enabled
118 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
44a1dabf 119 select BACKLIGHT_LCD_SUPPORT if ACPI
31db5645 120 select BACKLIGHT_CLASS_DEVICE if ACPI
cbf15bdb 121 select VIDEO_OUTPUT_CONTROL if ACPI
31db5645
LB
122 select INPUT if ACPI
123 select ACPI_VIDEO if ACPI
c1c7af60 124 select ACPI_BUTTON if ACPI
1da177e4 125 help
7f506847
AB
126 Choose this option if you have a system that has "Intel Graphics
127 Media Accelerator" or "HD Graphics" integrated graphics,
128 including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
129 G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
130 Core i5, Core i7 as well as Atom CPUs with integrated graphics.
131 If M is selected, the module will be called i915. AGP support
132 is required for this driver to work. This driver is used by
133 the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
134 replaces the older i830 module that supported a subset of the
135 hardware in older X.org releases.
136
137 Note that the older i810/i815 chipsets require the use of the
138 i810 driver instead, and the Atom z5xx series has an entirely
139 different implementation.
bc5f4523 140
79e53945
JB
141config DRM_I915_KMS
142 bool "Enable modesetting on intel by default"
143 depends on DRM_I915
144 help
a1a5c3b9
KH
145 Choose this option if you want kernel modesetting enabled by default,
146 and you have a new enough userspace to support this. Running old
147 userspaces with this enabled will cause pain. Note that this causes
148 the driver to bind to PCI devices, which precludes loading things
149 like intelfb.
79e53945 150
1da177e4
LT
151config DRM_MGA
152 tristate "Matrox g200/g400"
f5f05c8a 153 depends on DRM && PCI
ece2be79 154 select FW_LOADER
1da177e4
LT
155 help
156 Choose this option if you have a Matrox G200, G400 or G450 graphics
157 card. If M is selected, the module will be called mga. AGP
158 support is required for this driver to work.
159
160config DRM_SIS
161 tristate "SiS video cards"
162 depends on DRM && AGP
dfcf96d0 163 depends on FB_SIS || FB_SIS=n
1da177e4 164 help
bc5f4523 165 Choose this option if you have a SiS 630 or compatible video
1da177e4
LT
166 chipset. If M is selected the module will be called sis. AGP
167 support is required for this driver to work.
168
22f579c6
DA
169config DRM_VIA
170 tristate "Via unichrome video cards"
f5f05c8a 171 depends on DRM && PCI
22f579c6
DA
172 help
173 Choose this option if you have a Via unichrome or compatible video
174 chipset. If M is selected the module will be called via.
175
282a1674
DA
176config DRM_SAVAGE
177 tristate "Savage video cards"
f5f05c8a 178 depends on DRM && PCI
282a1674
DA
179 help
180 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
181 chipset. If M is selected the module will be called savage.
1c248b7d 182
5a7b74be
TH
183source "drivers/gpu/drm/exynos/Kconfig"
184
185source "drivers/gpu/drm/vmwgfx/Kconfig"
91c75492
AC
186
187source "drivers/gpu/drm/gma500/Kconfig"
188
5320918b 189source "drivers/gpu/drm/udl/Kconfig"
312fec14
DA
190
191source "drivers/gpu/drm/ast/Kconfig"
192
414c4531 193source "drivers/gpu/drm/mgag200/Kconfig"
f9aa76a8
DA
194
195source "drivers/gpu/drm/cirrus/Kconfig"