xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision 4f3db074)
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#
7menuconfig 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
24config DRM_MIPI_DSI
25	bool
26	depends on DRM
27
28config DRM_KMS_HELPER
29	tristate
30	depends on DRM
31	help
32	  CRTC helpers for KMS drivers.
33
34config 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
43config 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
55config 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
63config 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
69config 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
80source "drivers/gpu/drm/i2c/Kconfig"
81
82source "drivers/gpu/drm/bridge/Kconfig"
83
84config DRM_TDFX
85	tristate "3dfx Banshee/Voodoo3+"
86	depends on DRM && PCI
87	help
88	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
89	  graphics card.  If M is selected, the module will be called tdfx.
90
91config DRM_R128
92	tristate "ATI Rage 128"
93	depends on DRM && PCI
94	select FW_LOADER
95	help
96	  Choose this option if you have an ATI Rage 128 graphics card.  If M
97	  is selected, the module will be called r128.  AGP support for
98	  this card is strongly suggested (unless you have a PCI version).
99
100config DRM_RADEON
101	tristate "ATI Radeon"
102	depends on DRM && PCI
103	select FB_CFB_FILLRECT
104	select FB_CFB_COPYAREA
105	select FB_CFB_IMAGEBLIT
106	select FW_LOADER
107        select DRM_KMS_HELPER
108	select DRM_KMS_FB_HELPER
109        select DRM_TTM
110	select POWER_SUPPLY
111	select HWMON
112	select BACKLIGHT_CLASS_DEVICE
113	select INTERVAL_TREE
114	help
115	  Choose this option if you have an ATI Radeon graphics card.  There
116	  are both PCI and AGP versions.  You don't need to choose this to
117	  run the Radeon in plain VGA mode.
118
119	  If M is selected, the module will be called radeon.
120
121source "drivers/gpu/drm/radeon/Kconfig"
122
123source "drivers/gpu/drm/nouveau/Kconfig"
124
125config DRM_I810
126	tristate "Intel I810"
127	# !PREEMPT because of missing ioctl locking
128	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
129	help
130	  Choose this option if you have an Intel I810 graphics card.  If M is
131	  selected, the module will be called i810.  AGP support is required
132	  for this driver to work.
133
134source "drivers/gpu/drm/i915/Kconfig"
135
136config DRM_MGA
137	tristate "Matrox g200/g400"
138	depends on DRM && PCI
139	select FW_LOADER
140	help
141	  Choose this option if you have a Matrox G200, G400 or G450 graphics
142	  card.  If M is selected, the module will be called mga.  AGP
143	  support is required for this driver to work.
144
145config DRM_SIS
146	tristate "SiS video cards"
147	depends on DRM && AGP
148	depends on FB_SIS || FB_SIS=n
149	help
150	  Choose this option if you have a SiS 630 or compatible video
151          chipset. If M is selected the module will be called sis. AGP
152          support is required for this driver to work.
153
154config DRM_VIA
155	tristate "Via unichrome video cards"
156	depends on DRM && PCI
157	help
158	  Choose this option if you have a Via unichrome or compatible video
159	  chipset. If M is selected the module will be called via.
160
161config DRM_SAVAGE
162	tristate "Savage video cards"
163	depends on DRM && PCI
164	help
165	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
166	  chipset. If M is selected the module will be called savage.
167
168config DRM_VGEM
169	tristate "Virtual GEM provider"
170	depends on DRM
171	help
172	  Choose this option to get a virtual graphics memory manager,
173	  as used by Mesa's software renderer for enhanced performance.
174	  If M is selected the module will be called vgem.
175
176
177source "drivers/gpu/drm/exynos/Kconfig"
178
179source "drivers/gpu/drm/rockchip/Kconfig"
180
181source "drivers/gpu/drm/vmwgfx/Kconfig"
182
183source "drivers/gpu/drm/gma500/Kconfig"
184
185source "drivers/gpu/drm/udl/Kconfig"
186
187source "drivers/gpu/drm/ast/Kconfig"
188
189source "drivers/gpu/drm/mgag200/Kconfig"
190
191source "drivers/gpu/drm/cirrus/Kconfig"
192
193source "drivers/gpu/drm/armada/Kconfig"
194
195source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
196
197source "drivers/gpu/drm/rcar-du/Kconfig"
198
199source "drivers/gpu/drm/shmobile/Kconfig"
200
201source "drivers/gpu/drm/omapdrm/Kconfig"
202
203source "drivers/gpu/drm/tilcdc/Kconfig"
204
205source "drivers/gpu/drm/qxl/Kconfig"
206
207source "drivers/gpu/drm/bochs/Kconfig"
208
209source "drivers/gpu/drm/msm/Kconfig"
210
211source "drivers/gpu/drm/tegra/Kconfig"
212
213source "drivers/gpu/drm/panel/Kconfig"
214
215source "drivers/gpu/drm/sti/Kconfig"
216
217source "drivers/gpu/drm/amd/amdkfd/Kconfig"
218
219source "drivers/gpu/drm/imx/Kconfig"
220