drm/panel: Change dlen from u16 to u8
[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_IGNORE_IOTCL_PERMIT
25         bool "Ignore drm ioctl permission"
26         default y
27         depends on DRM && ANDROID
28
29 config DRM_MIPI_DSI
30         bool
31         depends on DRM
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         select FB_SYS_FOPS
46         select FB_SYS_FILLRECT
47         select FB_SYS_COPYAREA
48         select FB_SYS_IMAGEBLIT
49         select FB_CFB_FILLRECT
50         select FB_CFB_COPYAREA
51         select FB_CFB_IMAGEBLIT
52         help
53           FBDEV helpers for KMS drivers.
54
55 config DRM_FBDEV_EMULATION
56         bool "Enable legacy fbdev support for your modesetting driver"
57         depends on DRM
58         select DRM_KMS_HELPER
59         select DRM_KMS_FB_HELPER
60         default y
61         help
62           Choose this option if you have a need for the legacy fbdev
63           support. Note that this support also provides the linux console
64           support on top of your modesetting driver.
65
66           If in doubt, say "Y".
67
68 config DRM_LOAD_EDID_FIRMWARE
69         bool "Allow to specify an EDID data set instead of probing for it"
70         depends on DRM_KMS_HELPER
71         help
72           Say Y here, if you want to use EDID data to be loaded from the
73           /lib/firmware directory or one of the provided built-in
74           data sets. This may be necessary, if the graphics adapter or
75           monitor are unable to provide appropriate EDID data. Since this
76           feature is provided as a workaround for broken hardware, the
77           default case is N. Details and instructions how to build your own
78           EDID data are given in Documentation/EDID/HOWTO.txt.
79
80 config DRM_TTM
81         tristate
82         depends on DRM
83         help
84           GPU memory management subsystem for devices with multiple
85           GPU memory types. Will be enabled automatically if a device driver
86           uses it.
87
88 config DRM_GEM_CMA_HELPER
89         bool
90         depends on DRM && HAVE_DMA_ATTRS
91         help
92           Choose this if you need the GEM CMA helper functions
93
94 config DRM_KMS_CMA_HELPER
95         bool
96         depends on DRM && HAVE_DMA_ATTRS
97         select DRM_GEM_CMA_HELPER
98         select DRM_KMS_FB_HELPER
99         select FB_SYS_FILLRECT
100         select FB_SYS_COPYAREA
101         select FB_SYS_IMAGEBLIT
102         help
103           Choose this if you need the KMS CMA helper functions
104
105 config DRM_SCDC_HELPER
106         bool "DRM SCDC HELPER"
107         depends on DRM_KMS_HELPER
108         help
109           Choose this if you need the SCDC helper functions
110
111 config DRM_DMA_SYNC
112         bool "DRM DMA Sync"
113         depends on DRM && DMA_SHARED_BUFFER
114         default n
115         help
116           Choose this option if you want to use fences and reservations for
117           synchronization of shared dma-buf access between different drivers.
118
119 source "drivers/gpu/drm/i2c/Kconfig"
120
121 config DRM_TDFX
122         tristate "3dfx Banshee/Voodoo3+"
123         depends on DRM && PCI
124         help
125           Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
126           graphics card.  If M is selected, the module will be called tdfx.
127
128 config DRM_R128
129         tristate "ATI Rage 128"
130         depends on DRM && PCI
131         select FW_LOADER
132         help
133           Choose this option if you have an ATI Rage 128 graphics card.  If M
134           is selected, the module will be called r128.  AGP support for
135           this card is strongly suggested (unless you have a PCI version).
136
137 config DRM_RADEON
138         tristate "ATI Radeon"
139         depends on DRM && PCI
140         select FB_CFB_FILLRECT
141         select FB_CFB_COPYAREA
142         select FB_CFB_IMAGEBLIT
143         select FW_LOADER
144         select DRM_KMS_HELPER
145         select DRM_KMS_FB_HELPER
146         select DRM_TTM
147         select POWER_SUPPLY
148         select HWMON
149         select BACKLIGHT_CLASS_DEVICE
150         select BACKLIGHT_LCD_SUPPORT
151         select INTERVAL_TREE
152         help
153           Choose this option if you have an ATI Radeon graphics card.  There
154           are both PCI and AGP versions.  You don't need to choose this to
155           run the Radeon in plain VGA mode.
156
157           If M is selected, the module will be called radeon.
158
159 source "drivers/gpu/drm/radeon/Kconfig"
160
161 config DRM_AMDGPU
162         tristate "AMD GPU"
163         depends on DRM && PCI
164         select FB_CFB_FILLRECT
165         select FB_CFB_COPYAREA
166         select FB_CFB_IMAGEBLIT
167         select FW_LOADER
168         select DRM_KMS_HELPER
169         select DRM_KMS_FB_HELPER
170         select DRM_TTM
171         select POWER_SUPPLY
172         select HWMON
173         select BACKLIGHT_CLASS_DEVICE
174         select BACKLIGHT_LCD_SUPPORT
175         select INTERVAL_TREE
176         help
177           Choose this option if you have a recent AMD Radeon graphics card.
178
179           If M is selected, the module will be called amdgpu.
180
181 source "drivers/gpu/drm/amd/amdgpu/Kconfig"
182
183 source "drivers/gpu/drm/nouveau/Kconfig"
184
185 config DRM_I810
186         tristate "Intel I810"
187         # !PREEMPT because of missing ioctl locking
188         depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
189         help
190           Choose this option if you have an Intel I810 graphics card.  If M is
191           selected, the module will be called i810.  AGP support is required
192           for this driver to work.
193
194 source "drivers/gpu/drm/i915/Kconfig"
195
196 config DRM_MGA
197         tristate "Matrox g200/g400"
198         depends on DRM && PCI
199         select FW_LOADER
200         help
201           Choose this option if you have a Matrox G200, G400 or G450 graphics
202           card.  If M is selected, the module will be called mga.  AGP
203           support is required for this driver to work.
204
205 config DRM_SIS
206         tristate "SiS video cards"
207         depends on DRM && AGP
208         depends on FB_SIS || FB_SIS=n
209         help
210           Choose this option if you have a SiS 630 or compatible video
211           chipset. If M is selected the module will be called sis. AGP
212           support is required for this driver to work.
213
214 config DRM_VIA
215         tristate "Via unichrome video cards"
216         depends on DRM && PCI
217         help
218           Choose this option if you have a Via unichrome or compatible video
219           chipset. If M is selected the module will be called via.
220
221 config DRM_SAVAGE
222         tristate "Savage video cards"
223         depends on DRM && PCI
224         help
225           Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
226           chipset. If M is selected the module will be called savage.
227
228 config DRM_VGEM
229         tristate "Virtual GEM provider"
230         depends on DRM
231         help
232           Choose this option to get a virtual graphics memory manager,
233           as used by Mesa's software renderer for enhanced performance.
234           If M is selected the module will be called vgem.
235
236
237 source "drivers/gpu/drm/exynos/Kconfig"
238
239 source "drivers/gpu/drm/rockchip/Kconfig"
240
241 source "drivers/gpu/drm/vmwgfx/Kconfig"
242
243 source "drivers/gpu/drm/gma500/Kconfig"
244
245 source "drivers/gpu/drm/udl/Kconfig"
246
247 source "drivers/gpu/drm/ast/Kconfig"
248
249 source "drivers/gpu/drm/mgag200/Kconfig"
250
251 source "drivers/gpu/drm/cirrus/Kconfig"
252
253 source "drivers/gpu/drm/armada/Kconfig"
254
255 source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
256
257 source "drivers/gpu/drm/rcar-du/Kconfig"
258
259 source "drivers/gpu/drm/shmobile/Kconfig"
260
261 source "drivers/gpu/drm/omapdrm/Kconfig"
262
263 source "drivers/gpu/drm/tilcdc/Kconfig"
264
265 source "drivers/gpu/drm/qxl/Kconfig"
266
267 source "drivers/gpu/drm/bochs/Kconfig"
268
269 source "drivers/gpu/drm/virtio/Kconfig"
270
271 source "drivers/gpu/drm/msm/Kconfig"
272
273 source "drivers/gpu/drm/fsl-dcu/Kconfig"
274
275 source "drivers/gpu/drm/tegra/Kconfig"
276
277 source "drivers/gpu/drm/panel/Kconfig"
278
279 source "drivers/gpu/drm/bridge/Kconfig"
280
281 source "drivers/gpu/drm/sti/Kconfig"
282
283 source "drivers/gpu/drm/amd/amdkfd/Kconfig"
284
285 source "drivers/gpu/drm/imx/Kconfig"
286
287 source "drivers/gpu/drm/vc4/Kconfig"