2 # Drm device configuration
4 # This driver provides support for the
5 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
8 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
9 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA
14 select DMA_SHARED_BUFFER
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.
24 config DRM_IGNORE_IOTCL_PERMIT
25 bool "Ignore drm ioctl permission"
27 depends on DRM && ANDROID
37 CRTC helpers for KMS drivers.
39 config DRM_KMS_FB_HELPER
41 depends on DRM_KMS_HELPER
43 select FRAMEBUFFER_CONSOLE if !EXPERT
44 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
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
53 FBDEV helpers for KMS drivers.
55 config DRM_FBDEV_EMULATION
56 bool "Enable legacy fbdev support for your modesetting driver"
59 select DRM_KMS_FB_HELPER
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.
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
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.
84 GPU memory management subsystem for devices with multiple
85 GPU memory types. Will be enabled automatically if a device driver
88 config DRM_GEM_CMA_HELPER
90 depends on DRM && HAVE_DMA_ATTRS
92 Choose this if you need the GEM CMA helper functions
94 config DRM_KMS_CMA_HELPER
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
103 Choose this if you need the KMS CMA helper functions
107 depends on DRM && DMA_SHARED_BUFFER
110 Choose this option if you want to use fences and reservations for
111 synchronization of shared dma-buf access between different drivers.
113 source "drivers/gpu/drm/i2c/Kconfig"
116 tristate "3dfx Banshee/Voodoo3+"
117 depends on DRM && PCI
119 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
120 graphics card. If M is selected, the module will be called tdfx.
123 tristate "ATI Rage 128"
124 depends on DRM && PCI
127 Choose this option if you have an ATI Rage 128 graphics card. If M
128 is selected, the module will be called r128. AGP support for
129 this card is strongly suggested (unless you have a PCI version).
132 tristate "ATI Radeon"
133 depends on DRM && PCI
134 select FB_CFB_FILLRECT
135 select FB_CFB_COPYAREA
136 select FB_CFB_IMAGEBLIT
138 select DRM_KMS_HELPER
139 select DRM_KMS_FB_HELPER
143 select BACKLIGHT_CLASS_DEVICE
144 select BACKLIGHT_LCD_SUPPORT
147 Choose this option if you have an ATI Radeon graphics card. There
148 are both PCI and AGP versions. You don't need to choose this to
149 run the Radeon in plain VGA mode.
151 If M is selected, the module will be called radeon.
153 source "drivers/gpu/drm/radeon/Kconfig"
157 depends on DRM && PCI
158 select FB_CFB_FILLRECT
159 select FB_CFB_COPYAREA
160 select FB_CFB_IMAGEBLIT
162 select DRM_KMS_HELPER
163 select DRM_KMS_FB_HELPER
167 select BACKLIGHT_CLASS_DEVICE
168 select BACKLIGHT_LCD_SUPPORT
171 Choose this option if you have a recent AMD Radeon graphics card.
173 If M is selected, the module will be called amdgpu.
175 source "drivers/gpu/drm/amd/amdgpu/Kconfig"
177 source "drivers/gpu/drm/nouveau/Kconfig"
180 tristate "Intel I810"
181 # !PREEMPT because of missing ioctl locking
182 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
184 Choose this option if you have an Intel I810 graphics card. If M is
185 selected, the module will be called i810. AGP support is required
186 for this driver to work.
188 source "drivers/gpu/drm/i915/Kconfig"
191 tristate "Matrox g200/g400"
192 depends on DRM && PCI
195 Choose this option if you have a Matrox G200, G400 or G450 graphics
196 card. If M is selected, the module will be called mga. AGP
197 support is required for this driver to work.
200 tristate "SiS video cards"
201 depends on DRM && AGP
202 depends on FB_SIS || FB_SIS=n
204 Choose this option if you have a SiS 630 or compatible video
205 chipset. If M is selected the module will be called sis. AGP
206 support is required for this driver to work.
209 tristate "Via unichrome video cards"
210 depends on DRM && PCI
212 Choose this option if you have a Via unichrome or compatible video
213 chipset. If M is selected the module will be called via.
216 tristate "Savage video cards"
217 depends on DRM && PCI
219 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
220 chipset. If M is selected the module will be called savage.
223 tristate "Virtual GEM provider"
226 Choose this option to get a virtual graphics memory manager,
227 as used by Mesa's software renderer for enhanced performance.
228 If M is selected the module will be called vgem.
231 source "drivers/gpu/drm/exynos/Kconfig"
233 source "drivers/gpu/drm/rockchip/Kconfig"
235 source "drivers/gpu/drm/vmwgfx/Kconfig"
237 source "drivers/gpu/drm/gma500/Kconfig"
239 source "drivers/gpu/drm/udl/Kconfig"
241 source "drivers/gpu/drm/ast/Kconfig"
243 source "drivers/gpu/drm/mgag200/Kconfig"
245 source "drivers/gpu/drm/cirrus/Kconfig"
247 source "drivers/gpu/drm/armada/Kconfig"
249 source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
251 source "drivers/gpu/drm/rcar-du/Kconfig"
253 source "drivers/gpu/drm/shmobile/Kconfig"
255 source "drivers/gpu/drm/omapdrm/Kconfig"
257 source "drivers/gpu/drm/tilcdc/Kconfig"
259 source "drivers/gpu/drm/qxl/Kconfig"
261 source "drivers/gpu/drm/bochs/Kconfig"
263 source "drivers/gpu/drm/virtio/Kconfig"
265 source "drivers/gpu/drm/msm/Kconfig"
267 source "drivers/gpu/drm/fsl-dcu/Kconfig"
269 source "drivers/gpu/drm/tegra/Kconfig"
271 source "drivers/gpu/drm/panel/Kconfig"
273 source "drivers/gpu/drm/bridge/Kconfig"
275 source "drivers/gpu/drm/sti/Kconfig"
277 source "drivers/gpu/drm/amd/amdkfd/Kconfig"
279 source "drivers/gpu/drm/imx/Kconfig"
281 source "drivers/gpu/drm/vc4/Kconfig"