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
105 config DRM_SCDC_HELPER
106 bool "DRM SCDC HELPER"
107 depends on DRM_KMS_HELPER
109 Choose this if you need the SCDC helper functions
113 depends on DRM && DMA_SHARED_BUFFER
116 Choose this option if you want to use fences and reservations for
117 synchronization of shared dma-buf access between different drivers.
119 source "drivers/gpu/drm/i2c/Kconfig"
122 tristate "3dfx Banshee/Voodoo3+"
123 depends on DRM && PCI
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.
129 tristate "ATI Rage 128"
130 depends on DRM && PCI
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).
138 tristate "ATI Radeon"
139 depends on DRM && PCI
140 select FB_CFB_FILLRECT
141 select FB_CFB_COPYAREA
142 select FB_CFB_IMAGEBLIT
144 select DRM_KMS_HELPER
145 select DRM_KMS_FB_HELPER
149 select BACKLIGHT_CLASS_DEVICE
150 select BACKLIGHT_LCD_SUPPORT
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.
157 If M is selected, the module will be called radeon.
159 source "drivers/gpu/drm/radeon/Kconfig"
163 depends on DRM && PCI
164 select FB_CFB_FILLRECT
165 select FB_CFB_COPYAREA
166 select FB_CFB_IMAGEBLIT
168 select DRM_KMS_HELPER
169 select DRM_KMS_FB_HELPER
173 select BACKLIGHT_CLASS_DEVICE
174 select BACKLIGHT_LCD_SUPPORT
177 Choose this option if you have a recent AMD Radeon graphics card.
179 If M is selected, the module will be called amdgpu.
181 source "drivers/gpu/drm/amd/amdgpu/Kconfig"
183 source "drivers/gpu/drm/nouveau/Kconfig"
186 tristate "Intel I810"
187 # !PREEMPT because of missing ioctl locking
188 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
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.
194 source "drivers/gpu/drm/i915/Kconfig"
197 tristate "Matrox g200/g400"
198 depends on DRM && PCI
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.
206 tristate "SiS video cards"
207 depends on DRM && AGP
208 depends on FB_SIS || FB_SIS=n
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.
215 tristate "Via unichrome video cards"
216 depends on DRM && PCI
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.
222 tristate "Savage video cards"
223 depends on DRM && PCI
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.
229 tristate "Virtual GEM provider"
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.
237 source "drivers/gpu/drm/exynos/Kconfig"
239 source "drivers/gpu/drm/rockchip/Kconfig"
241 source "drivers/gpu/drm/vmwgfx/Kconfig"
243 source "drivers/gpu/drm/gma500/Kconfig"
245 source "drivers/gpu/drm/udl/Kconfig"
247 source "drivers/gpu/drm/ast/Kconfig"
249 source "drivers/gpu/drm/mgag200/Kconfig"
251 source "drivers/gpu/drm/cirrus/Kconfig"
253 source "drivers/gpu/drm/armada/Kconfig"
255 source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
257 source "drivers/gpu/drm/rcar-du/Kconfig"
259 source "drivers/gpu/drm/shmobile/Kconfig"
261 source "drivers/gpu/drm/omapdrm/Kconfig"
263 source "drivers/gpu/drm/tilcdc/Kconfig"
265 source "drivers/gpu/drm/qxl/Kconfig"
267 source "drivers/gpu/drm/bochs/Kconfig"
269 source "drivers/gpu/drm/virtio/Kconfig"
271 source "drivers/gpu/drm/msm/Kconfig"
273 source "drivers/gpu/drm/fsl-dcu/Kconfig"
275 source "drivers/gpu/drm/tegra/Kconfig"
277 source "drivers/gpu/drm/panel/Kconfig"
279 source "drivers/gpu/drm/bridge/Kconfig"
281 source "drivers/gpu/drm/sti/Kconfig"
283 source "drivers/gpu/drm/amd/amdkfd/Kconfig"
285 source "drivers/gpu/drm/imx/Kconfig"
287 source "drivers/gpu/drm/vc4/Kconfig"