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.
32 CRTC helpers for KMS drivers.
34 config DRM_KMS_FB_HELPER
36 depends on DRM_KMS_HELPER
38 select FRAMEBUFFER_CONSOLE if !EXPERT
39 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
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
48 FBDEV helpers for KMS drivers.
50 config DRM_FBDEV_EMULATION
51 bool "Enable legacy fbdev support for your modesetting driver"
54 select DRM_KMS_FB_HELPER
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.
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
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.
79 GPU memory management subsystem for devices with multiple
80 GPU memory types. Will be enabled automatically if a device driver
83 config DRM_GEM_CMA_HELPER
85 depends on DRM && HAVE_DMA_ATTRS
87 Choose this if you need the GEM CMA helper functions
89 config DRM_KMS_CMA_HELPER
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
98 Choose this if you need the KMS CMA helper functions
100 source "drivers/gpu/drm/i2c/Kconfig"
103 tristate "3dfx Banshee/Voodoo3+"
104 depends on DRM && PCI
106 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
107 graphics card. If M is selected, the module will be called tdfx.
110 tristate "ATI Rage 128"
111 depends on DRM && PCI
114 Choose this option if you have an ATI Rage 128 graphics card. If M
115 is selected, the module will be called r128. AGP support for
116 this card is strongly suggested (unless you have a PCI version).
119 tristate "ATI Radeon"
120 depends on DRM && PCI
121 select FB_CFB_FILLRECT
122 select FB_CFB_COPYAREA
123 select FB_CFB_IMAGEBLIT
125 select DRM_KMS_HELPER
126 select DRM_KMS_FB_HELPER
130 select BACKLIGHT_CLASS_DEVICE
133 Choose this option if you have an ATI Radeon graphics card. There
134 are both PCI and AGP versions. You don't need to choose this to
135 run the Radeon in plain VGA mode.
137 If M is selected, the module will be called radeon.
139 source "drivers/gpu/drm/radeon/Kconfig"
143 depends on DRM && PCI
144 select FB_CFB_FILLRECT
145 select FB_CFB_COPYAREA
146 select FB_CFB_IMAGEBLIT
148 select DRM_KMS_HELPER
149 select DRM_KMS_FB_HELPER
153 select BACKLIGHT_CLASS_DEVICE
156 Choose this option if you have a recent AMD Radeon graphics card.
158 If M is selected, the module will be called amdgpu.
160 source "drivers/gpu/drm/amd/amdgpu/Kconfig"
162 source "drivers/gpu/drm/nouveau/Kconfig"
165 tristate "Intel I810"
166 # !PREEMPT because of missing ioctl locking
167 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
169 Choose this option if you have an Intel I810 graphics card. If M is
170 selected, the module will be called i810. AGP support is required
171 for this driver to work.
173 source "drivers/gpu/drm/i915/Kconfig"
176 tristate "Matrox g200/g400"
177 depends on DRM && PCI
180 Choose this option if you have a Matrox G200, G400 or G450 graphics
181 card. If M is selected, the module will be called mga. AGP
182 support is required for this driver to work.
185 tristate "SiS video cards"
186 depends on DRM && AGP
187 depends on FB_SIS || FB_SIS=n
189 Choose this option if you have a SiS 630 or compatible video
190 chipset. If M is selected the module will be called sis. AGP
191 support is required for this driver to work.
194 tristate "Via unichrome video cards"
195 depends on DRM && PCI
197 Choose this option if you have a Via unichrome or compatible video
198 chipset. If M is selected the module will be called via.
201 tristate "Savage video cards"
202 depends on DRM && PCI
204 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
205 chipset. If M is selected the module will be called savage.
208 tristate "Virtual GEM provider"
211 Choose this option to get a virtual graphics memory manager,
212 as used by Mesa's software renderer for enhanced performance.
213 If M is selected the module will be called vgem.
216 source "drivers/gpu/drm/exynos/Kconfig"
218 source "drivers/gpu/drm/rockchip/Kconfig"
220 source "drivers/gpu/drm/vmwgfx/Kconfig"
222 source "drivers/gpu/drm/gma500/Kconfig"
224 source "drivers/gpu/drm/udl/Kconfig"
226 source "drivers/gpu/drm/ast/Kconfig"
228 source "drivers/gpu/drm/mgag200/Kconfig"
230 source "drivers/gpu/drm/cirrus/Kconfig"
232 source "drivers/gpu/drm/armada/Kconfig"
234 source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
236 source "drivers/gpu/drm/rcar-du/Kconfig"
238 source "drivers/gpu/drm/shmobile/Kconfig"
240 source "drivers/gpu/drm/omapdrm/Kconfig"
242 source "drivers/gpu/drm/tilcdc/Kconfig"
244 source "drivers/gpu/drm/qxl/Kconfig"
246 source "drivers/gpu/drm/bochs/Kconfig"
248 source "drivers/gpu/drm/virtio/Kconfig"
250 source "drivers/gpu/drm/msm/Kconfig"
252 source "drivers/gpu/drm/tegra/Kconfig"
254 source "drivers/gpu/drm/panel/Kconfig"
256 source "drivers/gpu/drm/bridge/Kconfig"
258 source "drivers/gpu/drm/sti/Kconfig"
260 source "drivers/gpu/drm/amd/amdkfd/Kconfig"
262 source "drivers/gpu/drm/imx/Kconfig"