xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision 36bccb11)
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
86config DRM_TDFX
87	tristate "3dfx Banshee/Voodoo3+"
88	depends on DRM && PCI
89	help
90	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
91	  graphics card.  If M is selected, the module will be called tdfx.
92
93config DRM_R128
94	tristate "ATI Rage 128"
95	depends on DRM && PCI
96	select FW_LOADER
97	help
98	  Choose this option if you have an ATI Rage 128 graphics card.  If M
99	  is selected, the module will be called r128.  AGP support for
100	  this card is strongly suggested (unless you have a PCI version).
101
102config DRM_RADEON
103	tristate "ATI Radeon"
104	depends on DRM && PCI
105	select FB_CFB_FILLRECT
106	select FB_CFB_COPYAREA
107	select FB_CFB_IMAGEBLIT
108	select FW_LOADER
109        select DRM_KMS_HELPER
110	select DRM_KMS_FB_HELPER
111        select DRM_TTM
112	select POWER_SUPPLY
113	select HWMON
114	select BACKLIGHT_CLASS_DEVICE
115	help
116	  Choose this option if you have an ATI Radeon graphics card.  There
117	  are both PCI and AGP versions.  You don't need to choose this to
118	  run the Radeon in plain VGA mode.
119
120	  If M is selected, the module will be called radeon.
121
122source "drivers/gpu/drm/radeon/Kconfig"
123
124source "drivers/gpu/drm/nouveau/Kconfig"
125
126config DRM_I810
127	tristate "Intel I810"
128	# !PREEMPT because of missing ioctl locking
129	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
130	help
131	  Choose this option if you have an Intel I810 graphics card.  If M is
132	  selected, the module will be called i810.  AGP support is required
133	  for this driver to work.
134
135source "drivers/gpu/drm/i915/Kconfig"
136
137config DRM_MGA
138	tristate "Matrox g200/g400"
139	depends on DRM && PCI
140	select FW_LOADER
141	help
142	  Choose this option if you have a Matrox G200, G400 or G450 graphics
143	  card.  If M is selected, the module will be called mga.  AGP
144	  support is required for this driver to work.
145
146config DRM_SIS
147	tristate "SiS video cards"
148	depends on DRM && AGP
149	depends on FB_SIS || FB_SIS=n
150	help
151	  Choose this option if you have a SiS 630 or compatible video
152          chipset. If M is selected the module will be called sis. AGP
153          support is required for this driver to work.
154
155config DRM_VIA
156	tristate "Via unichrome video cards"
157	depends on DRM && PCI
158	help
159	  Choose this option if you have a Via unichrome or compatible video
160	  chipset. If M is selected the module will be called via.
161
162config DRM_SAVAGE
163	tristate "Savage video cards"
164	depends on DRM && PCI
165	help
166	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
167	  chipset. If M is selected the module will be called savage.
168
169source "drivers/gpu/drm/exynos/Kconfig"
170
171source "drivers/gpu/drm/vmwgfx/Kconfig"
172
173source "drivers/gpu/drm/gma500/Kconfig"
174
175source "drivers/gpu/drm/udl/Kconfig"
176
177source "drivers/gpu/drm/ast/Kconfig"
178
179source "drivers/gpu/drm/mgag200/Kconfig"
180
181source "drivers/gpu/drm/cirrus/Kconfig"
182
183source "drivers/gpu/drm/armada/Kconfig"
184
185source "drivers/gpu/drm/rcar-du/Kconfig"
186
187source "drivers/gpu/drm/shmobile/Kconfig"
188
189source "drivers/gpu/drm/omapdrm/Kconfig"
190
191source "drivers/gpu/drm/tilcdc/Kconfig"
192
193source "drivers/gpu/drm/qxl/Kconfig"
194
195source "drivers/gpu/drm/bochs/Kconfig"
196
197source "drivers/gpu/drm/msm/Kconfig"
198
199source "drivers/gpu/drm/tegra/Kconfig"
200
201source "drivers/gpu/drm/panel/Kconfig"
202
203source "drivers/gpu/drm/bridge/Kconfig"
204