Merge remote-tracking branch 'vfio/next'
[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)"
cc6a36f2 9 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA
10a85120 10 select HDMI
eaf99c74 11 select FB_CMDLINE
57a6297e
DA
12 select I2C
13 select I2C_ALGOBIT
3248877e 14 select DMA_SHARED_BUFFER
1da177e4
LT
15 help
16 Kernel-level support for the Direct Rendering Infrastructure (DRI)
17 introduced in XFree86 4.0. If you say Y here, you need to select
18 the module that's right for your graphics card from the list below.
19 These modules provide support for synchronization, security, and
20 DMA transfers. Please see <http://dri.sourceforge.net/> for more
21 details. You should also select and configure AGP
dcdb1674 22 (/dev/agpgart) support if it is available for your platform.
1da177e4 23
068a0023
AH
24config DRM_MIPI_DSI
25 bool
26 depends on DRM
27
e94cb37b
RA
28config DRM_DP_AUX_CHARDEV
29 bool "DRM DP AUX Interface"
30 depends on DRM
31 help
32 Choose this option to enable a /dev/drm_dp_auxN node that allows to
33 read and write values to arbitrary DPCD registers on the DP aux
34 channel.
35
6fcefd56 36config DRM_KMS_HELPER
13a8195b
DA
37 tristate
38 depends on DRM
92b6f89f
DV
39 help
40 CRTC helpers for KMS drivers.
41
42config DRM_KMS_FB_HELPER
43 bool
44 depends on DRM_KMS_HELPER
13a8195b 45 select FB
6a108a14 46 select FRAMEBUFFER_CONSOLE if !EXPERT
bf5192ed 47 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
cbb1a82e 48 select FB_SYS_FOPS
742547b7
AT
49 select FB_SYS_FILLRECT
50 select FB_SYS_COPYAREA
51 select FB_SYS_IMAGEBLIT
52 select FB_CFB_FILLRECT
53 select FB_CFB_COPYAREA
54 select FB_CFB_IMAGEBLIT
eaa434de 55 select FB_DEFERRED_IO
13a8195b 56 help
92b6f89f 57 FBDEV helpers for KMS drivers.
13a8195b 58
a03fdcb1
AT
59config DRM_FBDEV_EMULATION
60 bool "Enable legacy fbdev support for your modesetting driver"
61 depends on DRM
62 select DRM_KMS_HELPER
63 select DRM_KMS_FB_HELPER
64 default y
65 help
66 Choose this option if you have a need for the legacy fbdev
67 support. Note that this support also provides the linux console
68 support on top of your modesetting driver.
69
70 If in doubt, say "Y".
71
da0df92b
CE
72config DRM_LOAD_EDID_FIRMWARE
73 bool "Allow to specify an EDID data set instead of probing for it"
74 depends on DRM_KMS_HELPER
75 help
76 Say Y here, if you want to use EDID data to be loaded from the
77 /lib/firmware directory or one of the provided built-in
78 data sets. This may be necessary, if the graphics adapter or
79 monitor are unable to provide appropriate EDID data. Since this
80 feature is provided as a workaround for broken hardware, the
81 default case is N. Details and instructions how to build your own
82 EDID data are given in Documentation/EDID/HOWTO.txt.
83
ba4e7d97 84config DRM_TTM
771fe6b9 85 tristate
ba4e7d97
TH
86 depends on DRM
87 help
88 GPU memory management subsystem for devices with multiple
89 GPU memory types. Will be enabled automatically if a device driver
90 uses it.
91
b9d47450
SH
92config DRM_GEM_CMA_HELPER
93 bool
e1c7e324 94 depends on DRM
b9d47450
SH
95 help
96 Choose this if you need the GEM CMA helper functions
97
2e3b3c42
LPC
98config DRM_KMS_CMA_HELPER
99 bool
e1c7e324 100 depends on DRM
2e3b3c42 101 select DRM_GEM_CMA_HELPER
92b6f89f 102 select DRM_KMS_FB_HELPER
2e3b3c42
LPC
103 select FB_SYS_FILLRECT
104 select FB_SYS_COPYAREA
105 select FB_SYS_IMAGEBLIT
106 help
107 Choose this if you need the KMS CMA helper functions
108
6504d0d9
RC
109source "drivers/gpu/drm/i2c/Kconfig"
110
8e22d792
LD
111source "drivers/gpu/drm/arm/Kconfig"
112
1da177e4
LT
113config DRM_RADEON
114 tristate "ATI Radeon"
115 depends on DRM && PCI
70967ab9 116 select FW_LOADER
a0cdc649
DA
117 select DRM_KMS_HELPER
118 select DRM_TTM
5d9b7e2d 119 select POWER_SUPPLY
21a8122a 120 select HWMON
14adc892 121 select BACKLIGHT_CLASS_DEVICE
33610527 122 select BACKLIGHT_LCD_SUPPORT
0aea5e4a 123 select INTERVAL_TREE
1da177e4
LT
124 help
125 Choose this option if you have an ATI Radeon graphics card. There
126 are both PCI and AGP versions. You don't need to choose this to
7b9af345 127 run the Radeon in plain VGA mode.
bc5f4523 128
1da177e4
LT
129 If M is selected, the module will be called radeon.
130
f71d0187
DA
131source "drivers/gpu/drm/radeon/Kconfig"
132
d38ceaf9
AD
133config DRM_AMDGPU
134 tristate "AMD GPU"
135 depends on DRM && PCI
d38ceaf9
AD
136 select FW_LOADER
137 select DRM_KMS_HELPER
d38ceaf9
AD
138 select DRM_TTM
139 select POWER_SUPPLY
140 select HWMON
141 select BACKLIGHT_CLASS_DEVICE
b325a789 142 select BACKLIGHT_LCD_SUPPORT
d38ceaf9
AD
143 select INTERVAL_TREE
144 help
145 Choose this option if you have a recent AMD Radeon graphics card.
146
147 If M is selected, the module will be called amdgpu.
148
149source "drivers/gpu/drm/amd/amdgpu/Kconfig"
a8fe58ce 150
f3c93cbd
BS
151source "drivers/gpu/drm/nouveau/Kconfig"
152
4520f53a 153source "drivers/gpu/drm/i915/Kconfig"
99486b8e 154
502e95c6
ZR
155config DRM_VGEM
156 tristate "Virtual GEM provider"
157 depends on DRM
158 help
159 Choose this option to get a virtual graphics memory manager,
160 as used by Mesa's software renderer for enhanced performance.
161 If M is selected the module will be called vgem.
162
163
5a7b74be
TH
164source "drivers/gpu/drm/exynos/Kconfig"
165
2048e328
MY
166source "drivers/gpu/drm/rockchip/Kconfig"
167
5a7b74be 168source "drivers/gpu/drm/vmwgfx/Kconfig"
91c75492
AC
169
170source "drivers/gpu/drm/gma500/Kconfig"
171
5320918b 172source "drivers/gpu/drm/udl/Kconfig"
312fec14
DA
173
174source "drivers/gpu/drm/ast/Kconfig"
175
414c4531 176source "drivers/gpu/drm/mgag200/Kconfig"
f9aa76a8
DA
177
178source "drivers/gpu/drm/cirrus/Kconfig"
51c13278 179
96f60e37
RK
180source "drivers/gpu/drm/armada/Kconfig"
181
1a396789
BB
182source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
183
4bf8e196
LP
184source "drivers/gpu/drm/rcar-du/Kconfig"
185
51c13278 186source "drivers/gpu/drm/shmobile/Kconfig"
d8f4a9ed 187
9026e0d1
MR
188source "drivers/gpu/drm/sun4i/Kconfig"
189
8bb0daff 190source "drivers/gpu/drm/omapdrm/Kconfig"
ca18e142 191
16ea975e 192source "drivers/gpu/drm/tilcdc/Kconfig"
f64122c1
DA
193
194source "drivers/gpu/drm/qxl/Kconfig"
c8afe684 195
0a6659bd
GH
196source "drivers/gpu/drm/bochs/Kconfig"
197
dc5698e8
DA
198source "drivers/gpu/drm/virtio/Kconfig"
199
c8afe684 200source "drivers/gpu/drm/msm/Kconfig"
dee8268f 201
109eee2f
JW
202source "drivers/gpu/drm/fsl-dcu/Kconfig"
203
dee8268f 204source "drivers/gpu/drm/tegra/Kconfig"
aead40ea
TR
205
206source "drivers/gpu/drm/panel/Kconfig"
f2cb3148 207
a33ee95f
TR
208source "drivers/gpu/drm/bridge/Kconfig"
209
f2cb3148 210source "drivers/gpu/drm/sti/Kconfig"
4a488a7a
OG
211
212source "drivers/gpu/drm/amd/amdkfd/Kconfig"
6556f7f8
PZ
213
214source "drivers/gpu/drm/imx/Kconfig"
c8b75bca
EA
215
216source "drivers/gpu/drm/vc4/Kconfig"
a8c21a54
T
217
218source "drivers/gpu/drm/etnaviv/Kconfig"
51dacf20
CP
219
220source "drivers/gpu/drm/arc/Kconfig"
23e7b2ab
XL
221
222source "drivers/gpu/drm/hisilicon/Kconfig"
119f5173
CH
223
224source "drivers/gpu/drm/mediatek/Kconfig"
d92d9c3a
DH
225
226# Keep legacy drivers last
227
228menuconfig DRM_LEGACY
229 bool "Enable legacy drivers (DANGEROUS)"
230 depends on DRM
231 help
232 Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
233 APIs to user-space, which can be used to circumvent access
234 restrictions and other security measures. For backwards compatibility
235 those drivers are still available, but their use is highly
236 inadvisable and might harm your system.
237
238 You are recommended to use the safe modeset-only drivers instead, and
239 perform 3D emulation in user-space.
240
241 Unless you have strong reasons to go rogue, say "N".
242
243if DRM_LEGACY
244
245config DRM_TDFX
246 tristate "3dfx Banshee/Voodoo3+"
247 depends on DRM && PCI
248 help
249 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
250 graphics card. If M is selected, the module will be called tdfx.
251
252config DRM_R128
253 tristate "ATI Rage 128"
254 depends on DRM && PCI
255 select FW_LOADER
256 help
257 Choose this option if you have an ATI Rage 128 graphics card. If M
258 is selected, the module will be called r128. AGP support for
259 this card is strongly suggested (unless you have a PCI version).
260
261config DRM_I810
262 tristate "Intel I810"
263 # !PREEMPT because of missing ioctl locking
264 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
265 help
266 Choose this option if you have an Intel I810 graphics card. If M is
267 selected, the module will be called i810. AGP support is required
268 for this driver to work.
269
270config DRM_MGA
271 tristate "Matrox g200/g400"
272 depends on DRM && PCI
273 select FW_LOADER
274 help
275 Choose this option if you have a Matrox G200, G400 or G450 graphics
276 card. If M is selected, the module will be called mga. AGP
277 support is required for this driver to work.
278
279config DRM_SIS
280 tristate "SiS video cards"
281 depends on DRM && AGP
282 depends on FB_SIS || FB_SIS=n
283 help
284 Choose this option if you have a SiS 630 or compatible video
285 chipset. If M is selected the module will be called sis. AGP
286 support is required for this driver to work.
287
288config DRM_VIA
289 tristate "Via unichrome video cards"
290 depends on DRM && PCI
291 help
292 Choose this option if you have a Via unichrome or compatible video
293 chipset. If M is selected the module will be called via.
294
295config DRM_SAVAGE
296 tristate "Savage video cards"
297 depends on DRM && PCI
298 help
299 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
300 chipset. If M is selected the module will be called savage.
301
302endif # DRM_LEGACY
This page took 0.742778 seconds and 5 git commands to generate.