Merge tag 'topic/core-stuff-2014-08-15' of git://anongit.freedesktop.org/drm-intel...
[firefly-linux-kernel-4.4.55.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 && HAS_DMA
10         select HDMI
11         select FB_CMDLINE
12         select I2C
13         select I2C_ALGOBIT
14         select DMA_SHARED_BUFFER
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
22           (/dev/agpgart) support if it is available for your platform.
23
24 config DRM_MIPI_DSI
25         bool
26         depends on DRM
27
28 config DRM_USB
29         tristate
30         depends on DRM
31         depends on USB_SUPPORT && USB_ARCH_HAS_HCD
32         select USB
33
34 config DRM_KMS_HELPER
35         tristate
36         depends on DRM
37         help
38           CRTC helpers for KMS drivers.
39
40 config DRM_KMS_FB_HELPER
41         bool
42         depends on DRM_KMS_HELPER
43         select FB
44         select FRAMEBUFFER_CONSOLE if !EXPERT
45         select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
46         help
47           FBDEV helpers for KMS drivers.
48
49 config DRM_LOAD_EDID_FIRMWARE
50         bool "Allow to specify an EDID data set instead of probing for it"
51         depends on DRM_KMS_HELPER
52         help
53           Say Y here, if you want to use EDID data to be loaded from the
54           /lib/firmware directory or one of the provided built-in
55           data sets. This may be necessary, if the graphics adapter or
56           monitor are unable to provide appropriate EDID data. Since this
57           feature is provided as a workaround for broken hardware, the
58           default case is N. Details and instructions how to build your own
59           EDID data are given in Documentation/EDID/HOWTO.txt.
60
61 config DRM_TTM
62         tristate
63         depends on DRM
64         help
65           GPU memory management subsystem for devices with multiple
66           GPU memory types. Will be enabled automatically if a device driver
67           uses it.
68
69 config DRM_GEM_CMA_HELPER
70         bool
71         depends on DRM
72         help
73           Choose this if you need the GEM CMA helper functions
74
75 config DRM_KMS_CMA_HELPER
76         bool
77         select DRM_GEM_CMA_HELPER
78         select DRM_KMS_FB_HELPER
79         select FB_SYS_FILLRECT
80         select FB_SYS_COPYAREA
81         select FB_SYS_IMAGEBLIT
82         help
83           Choose this if you need the KMS CMA helper functions
84
85 source "drivers/gpu/drm/i2c/Kconfig"
86
87 source "drivers/gpu/drm/bridge/Kconfig"
88
89 config DRM_TDFX
90         tristate "3dfx Banshee/Voodoo3+"
91         depends on DRM && PCI
92         help
93           Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
94           graphics card.  If M is selected, the module will be called tdfx.
95
96 config DRM_R128
97         tristate "ATI Rage 128"
98         depends on DRM && PCI
99         select FW_LOADER
100         help
101           Choose this option if you have an ATI Rage 128 graphics card.  If M
102           is selected, the module will be called r128.  AGP support for
103           this card is strongly suggested (unless you have a PCI version).
104
105 config DRM_RADEON
106         tristate "ATI Radeon"
107         depends on DRM && PCI
108         select FB_CFB_FILLRECT
109         select FB_CFB_COPYAREA
110         select FB_CFB_IMAGEBLIT
111         select FW_LOADER
112         select DRM_KMS_HELPER
113         select DRM_KMS_FB_HELPER
114         select DRM_TTM
115         select POWER_SUPPLY
116         select HWMON
117         select BACKLIGHT_CLASS_DEVICE
118         select INTERVAL_TREE
119         help
120           Choose this option if you have an ATI Radeon graphics card.  There
121           are both PCI and AGP versions.  You don't need to choose this to
122           run the Radeon in plain VGA mode.
123
124           If M is selected, the module will be called radeon.
125
126 source "drivers/gpu/drm/radeon/Kconfig"
127
128 source "drivers/gpu/drm/nouveau/Kconfig"
129
130 config DRM_I810
131         tristate "Intel I810"
132         # !PREEMPT because of missing ioctl locking
133         depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
134         help
135           Choose this option if you have an Intel I810 graphics card.  If M is
136           selected, the module will be called i810.  AGP support is required
137           for this driver to work.
138
139 source "drivers/gpu/drm/i915/Kconfig"
140
141 config DRM_MGA
142         tristate "Matrox g200/g400"
143         depends on DRM && PCI
144         select FW_LOADER
145         help
146           Choose this option if you have a Matrox G200, G400 or G450 graphics
147           card.  If M is selected, the module will be called mga.  AGP
148           support is required for this driver to work.
149
150 config DRM_SIS
151         tristate "SiS video cards"
152         depends on DRM && AGP
153         depends on FB_SIS || FB_SIS=n
154         help
155           Choose this option if you have a SiS 630 or compatible video
156           chipset. If M is selected the module will be called sis. AGP
157           support is required for this driver to work.
158
159 config DRM_VIA
160         tristate "Via unichrome video cards"
161         depends on DRM && PCI
162         help
163           Choose this option if you have a Via unichrome or compatible video
164           chipset. If M is selected the module will be called via.
165
166 config DRM_SAVAGE
167         tristate "Savage video cards"
168         depends on DRM && PCI
169         help
170           Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
171           chipset. If M is selected the module will be called savage.
172
173 source "drivers/gpu/drm/exynos/Kconfig"
174
175 source "drivers/gpu/drm/vmwgfx/Kconfig"
176
177 source "drivers/gpu/drm/gma500/Kconfig"
178
179 source "drivers/gpu/drm/udl/Kconfig"
180
181 source "drivers/gpu/drm/ast/Kconfig"
182
183 source "drivers/gpu/drm/mgag200/Kconfig"
184
185 source "drivers/gpu/drm/cirrus/Kconfig"
186
187 source "drivers/gpu/drm/armada/Kconfig"
188
189 source "drivers/gpu/drm/rcar-du/Kconfig"
190
191 source "drivers/gpu/drm/shmobile/Kconfig"
192
193 source "drivers/gpu/drm/omapdrm/Kconfig"
194
195 source "drivers/gpu/drm/tilcdc/Kconfig"
196
197 source "drivers/gpu/drm/qxl/Kconfig"
198
199 source "drivers/gpu/drm/bochs/Kconfig"
200
201 source "drivers/gpu/drm/msm/Kconfig"
202
203 source "drivers/gpu/drm/tegra/Kconfig"
204
205 source "drivers/gpu/drm/panel/Kconfig"
206
207 source "drivers/gpu/drm/sti/Kconfig"