xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision 930beb5a)
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_USB
24	tristate
25	depends on DRM
26	depends on USB_SUPPORT && USB_ARCH_HAS_HCD
27	select USB
28
29config DRM_KMS_HELPER
30	tristate
31	depends on DRM
32	help
33	  CRTC helpers for KMS drivers.
34
35config DRM_KMS_FB_HELPER
36	bool
37	depends on DRM_KMS_HELPER
38	select FB
39	select FRAMEBUFFER_CONSOLE if !EXPERT
40	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
41	help
42	  FBDEV helpers for KMS drivers.
43
44config DRM_LOAD_EDID_FIRMWARE
45	bool "Allow to specify an EDID data set instead of probing for it"
46	depends on DRM_KMS_HELPER
47	help
48	  Say Y here, if you want to use EDID data to be loaded from the
49	  /lib/firmware directory or one of the provided built-in
50	  data sets. This may be necessary, if the graphics adapter or
51	  monitor are unable to provide appropriate EDID data. Since this
52	  feature is provided as a workaround for broken hardware, the
53	  default case is N. Details and instructions how to build your own
54	  EDID data are given in Documentation/EDID/HOWTO.txt.
55
56config DRM_TTM
57	tristate
58	depends on DRM
59	help
60	  GPU memory management subsystem for devices with multiple
61	  GPU memory types. Will be enabled automatically if a device driver
62	  uses it.
63
64config DRM_GEM_CMA_HELPER
65	bool
66	depends on DRM
67	help
68	  Choose this if you need the GEM CMA helper functions
69
70config DRM_KMS_CMA_HELPER
71	bool
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
82config 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
89config 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
98config 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	help
112	  Choose this option if you have an ATI Radeon graphics card.  There
113	  are both PCI and AGP versions.  You don't need to choose this to
114	  run the Radeon in plain VGA mode.
115
116	  If M is selected, the module will be called radeon.
117
118source "drivers/gpu/drm/radeon/Kconfig"
119
120source "drivers/gpu/drm/nouveau/Kconfig"
121
122config DRM_I810
123	tristate "Intel I810"
124	# !PREEMPT because of missing ioctl locking
125	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
126	help
127	  Choose this option if you have an Intel I810 graphics card.  If M is
128	  selected, the module will be called i810.  AGP support is required
129	  for this driver to work.
130
131source "drivers/gpu/drm/i915/Kconfig"
132
133config DRM_MGA
134	tristate "Matrox g200/g400"
135	depends on DRM && PCI
136	select FW_LOADER
137	help
138	  Choose this option if you have a Matrox G200, G400 or G450 graphics
139	  card.  If M is selected, the module will be called mga.  AGP
140	  support is required for this driver to work.
141
142config DRM_SIS
143	tristate "SiS video cards"
144	depends on DRM && AGP
145	depends on FB_SIS || FB_SIS=n
146	help
147	  Choose this option if you have a SiS 630 or compatible video
148          chipset. If M is selected the module will be called sis. AGP
149          support is required for this driver to work.
150
151config DRM_VIA
152	tristate "Via unichrome video cards"
153	depends on DRM && PCI
154	help
155	  Choose this option if you have a Via unichrome or compatible video
156	  chipset. If M is selected the module will be called via.
157
158config DRM_SAVAGE
159	tristate "Savage video cards"
160	depends on DRM && PCI
161	help
162	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
163	  chipset. If M is selected the module will be called savage.
164
165source "drivers/gpu/drm/exynos/Kconfig"
166
167source "drivers/gpu/drm/vmwgfx/Kconfig"
168
169source "drivers/gpu/drm/gma500/Kconfig"
170
171source "drivers/gpu/drm/udl/Kconfig"
172
173source "drivers/gpu/drm/ast/Kconfig"
174
175source "drivers/gpu/drm/mgag200/Kconfig"
176
177source "drivers/gpu/drm/cirrus/Kconfig"
178
179source "drivers/gpu/drm/armada/Kconfig"
180
181source "drivers/gpu/drm/rcar-du/Kconfig"
182
183source "drivers/gpu/drm/shmobile/Kconfig"
184
185source "drivers/gpu/drm/omapdrm/Kconfig"
186
187source "drivers/gpu/drm/tilcdc/Kconfig"
188
189source "drivers/gpu/drm/qxl/Kconfig"
190
191source "drivers/gpu/drm/msm/Kconfig"
192
193source "drivers/gpu/drm/tegra/Kconfig"
194