xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision d2999e1b)
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 I2C
12	select I2C_ALGOBIT
13	select DMA_SHARED_BUFFER
14	help
15	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
16	  introduced in XFree86 4.0. If you say Y here, you need to select
17	  the module that's right for your graphics card from the list below.
18	  These modules provide support for synchronization, security, and
19	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
20	  details.  You should also select and configure AGP
21	  (/dev/agpgart) support if it is available for your platform.
22
23config DRM_MIPI_DSI
24	bool
25	depends on DRM
26
27config DRM_USB
28	tristate
29	depends on DRM
30	depends on USB_SUPPORT && USB_ARCH_HAS_HCD
31	select USB
32
33config DRM_KMS_HELPER
34	tristate
35	depends on DRM
36	help
37	  CRTC helpers for KMS drivers.
38
39config DRM_KMS_FB_HELPER
40	bool
41	depends on DRM_KMS_HELPER
42	select FB
43	select FRAMEBUFFER_CONSOLE if !EXPERT
44	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
45	help
46	  FBDEV helpers for KMS drivers.
47
48config DRM_LOAD_EDID_FIRMWARE
49	bool "Allow to specify an EDID data set instead of probing for it"
50	depends on DRM_KMS_HELPER
51	help
52	  Say Y here, if you want to use EDID data to be loaded from the
53	  /lib/firmware directory or one of the provided built-in
54	  data sets. This may be necessary, if the graphics adapter or
55	  monitor are unable to provide appropriate EDID data. Since this
56	  feature is provided as a workaround for broken hardware, the
57	  default case is N. Details and instructions how to build your own
58	  EDID data are given in Documentation/EDID/HOWTO.txt.
59
60config DRM_TTM
61	tristate
62	depends on DRM
63	help
64	  GPU memory management subsystem for devices with multiple
65	  GPU memory types. Will be enabled automatically if a device driver
66	  uses it.
67
68config DRM_GEM_CMA_HELPER
69	bool
70	depends on DRM
71	help
72	  Choose this if you need the GEM CMA helper functions
73
74config DRM_KMS_CMA_HELPER
75	bool
76	select DRM_GEM_CMA_HELPER
77	select DRM_KMS_FB_HELPER
78	select FB_SYS_FILLRECT
79	select FB_SYS_COPYAREA
80	select FB_SYS_IMAGEBLIT
81	help
82	  Choose this if you need the KMS CMA helper functions
83
84source "drivers/gpu/drm/i2c/Kconfig"
85
86source "drivers/gpu/drm/bridge/Kconfig"
87
88config DRM_TDFX
89	tristate "3dfx Banshee/Voodoo3+"
90	depends on DRM && PCI
91	help
92	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
93	  graphics card.  If M is selected, the module will be called tdfx.
94
95config DRM_R128
96	tristate "ATI Rage 128"
97	depends on DRM && PCI
98	select FW_LOADER
99	help
100	  Choose this option if you have an ATI Rage 128 graphics card.  If M
101	  is selected, the module will be called r128.  AGP support for
102	  this card is strongly suggested (unless you have a PCI version).
103
104config DRM_RADEON
105	tristate "ATI Radeon"
106	depends on DRM && PCI
107	select FB_CFB_FILLRECT
108	select FB_CFB_COPYAREA
109	select FB_CFB_IMAGEBLIT
110	select FW_LOADER
111        select DRM_KMS_HELPER
112	select DRM_KMS_FB_HELPER
113        select DRM_TTM
114	select POWER_SUPPLY
115	select HWMON
116	select BACKLIGHT_CLASS_DEVICE
117	help
118	  Choose this option if you have an ATI Radeon graphics card.  There
119	  are both PCI and AGP versions.  You don't need to choose this to
120	  run the Radeon in plain VGA mode.
121
122	  If M is selected, the module will be called radeon.
123
124source "drivers/gpu/drm/radeon/Kconfig"
125
126source "drivers/gpu/drm/nouveau/Kconfig"
127
128config DRM_I810
129	tristate "Intel I810"
130	# !PREEMPT because of missing ioctl locking
131	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
132	help
133	  Choose this option if you have an Intel I810 graphics card.  If M is
134	  selected, the module will be called i810.  AGP support is required
135	  for this driver to work.
136
137source "drivers/gpu/drm/i915/Kconfig"
138
139config DRM_MGA
140	tristate "Matrox g200/g400"
141	depends on DRM && PCI
142	select FW_LOADER
143	help
144	  Choose this option if you have a Matrox G200, G400 or G450 graphics
145	  card.  If M is selected, the module will be called mga.  AGP
146	  support is required for this driver to work.
147
148config DRM_SIS
149	tristate "SiS video cards"
150	depends on DRM && AGP
151	depends on FB_SIS || FB_SIS=n
152	help
153	  Choose this option if you have a SiS 630 or compatible video
154          chipset. If M is selected the module will be called sis. AGP
155          support is required for this driver to work.
156
157config DRM_VIA
158	tristate "Via unichrome video cards"
159	depends on DRM && PCI
160	help
161	  Choose this option if you have a Via unichrome or compatible video
162	  chipset. If M is selected the module will be called via.
163
164config DRM_SAVAGE
165	tristate "Savage video cards"
166	depends on DRM && PCI
167	help
168	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
169	  chipset. If M is selected the module will be called savage.
170
171source "drivers/gpu/drm/exynos/Kconfig"
172
173source "drivers/gpu/drm/vmwgfx/Kconfig"
174
175source "drivers/gpu/drm/gma500/Kconfig"
176
177source "drivers/gpu/drm/udl/Kconfig"
178
179source "drivers/gpu/drm/ast/Kconfig"
180
181source "drivers/gpu/drm/mgag200/Kconfig"
182
183source "drivers/gpu/drm/cirrus/Kconfig"
184
185source "drivers/gpu/drm/armada/Kconfig"
186
187source "drivers/gpu/drm/rcar-du/Kconfig"
188
189source "drivers/gpu/drm/shmobile/Kconfig"
190
191source "drivers/gpu/drm/omapdrm/Kconfig"
192
193source "drivers/gpu/drm/tilcdc/Kconfig"
194
195source "drivers/gpu/drm/qxl/Kconfig"
196
197source "drivers/gpu/drm/bochs/Kconfig"
198
199source "drivers/gpu/drm/msm/Kconfig"
200
201source "drivers/gpu/drm/tegra/Kconfig"
202
203source "drivers/gpu/drm/panel/Kconfig"
204