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