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