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