xref: /openbmc/linux/drivers/gpu/drm/Kconfig (revision 9cdb81c7)
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
10	select I2C
11	select I2C_ALGOBIT
12	help
13	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
14	  introduced in XFree86 4.0. If you say Y here, you need to select
15	  the module that's right for your graphics card from the list below.
16	  These modules provide support for synchronization, security, and
17	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
18	  details.  You should also select and configure AGP
19	  (/dev/agpgart) support if it is available for your platform.
20
21config DRM_USB
22	tristate
23	depends on DRM
24	select USB
25
26config DRM_KMS_HELPER
27	tristate
28	depends on DRM
29	select FB
30	select FRAMEBUFFER_CONSOLE if !EXPERT
31	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
32	help
33	  FB and CRTC helpers for KMS drivers.
34
35config DRM_LOAD_EDID_FIRMWARE
36	bool "Allow to specify an EDID data set instead of probing for it"
37	depends on DRM_KMS_HELPER
38	help
39	  Say Y here, if you want to use EDID data to be loaded from the
40	  /lib/firmware directory or one of the provided built-in
41	  data sets. This may be necessary, if the graphics adapter or
42	  monitor are unable to provide appropriate EDID data. Since this
43	  feature is provided as a workaround for broken hardware, the
44	  default case is N. Details and instructions how to build your own
45	  EDID data are given in Documentation/EDID/HOWTO.txt.
46
47config DRM_TTM
48	tristate
49	depends on DRM
50	help
51	  GPU memory management subsystem for devices with multiple
52	  GPU memory types. Will be enabled automatically if a device driver
53	  uses it.
54
55config DRM_TDFX
56	tristate "3dfx Banshee/Voodoo3+"
57	depends on DRM && PCI
58	help
59	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
60	  graphics card.  If M is selected, the module will be called tdfx.
61
62config DRM_R128
63	tristate "ATI Rage 128"
64	depends on DRM && PCI
65	select FW_LOADER
66	help
67	  Choose this option if you have an ATI Rage 128 graphics card.  If M
68	  is selected, the module will be called r128.  AGP support for
69	  this card is strongly suggested (unless you have a PCI version).
70
71config DRM_RADEON
72	tristate "ATI Radeon"
73	depends on DRM && PCI
74	select FB_CFB_FILLRECT
75	select FB_CFB_COPYAREA
76	select FB_CFB_IMAGEBLIT
77	select FW_LOADER
78        select DRM_KMS_HELPER
79        select DRM_TTM
80	select POWER_SUPPLY
81	select HWMON
82	help
83	  Choose this option if you have an ATI Radeon graphics card.  There
84	  are both PCI and AGP versions.  You don't need to choose this to
85	  run the Radeon in plain VGA mode.
86
87	  If M is selected, the module will be called radeon.
88
89source "drivers/gpu/drm/radeon/Kconfig"
90
91source "drivers/gpu/drm/nouveau/Kconfig"
92
93config DRM_I810
94	tristate "Intel I810"
95	# !PREEMPT because of missing ioctl locking
96	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
97	help
98	  Choose this option if you have an Intel I810 graphics card.  If M is
99	  selected, the module will be called i810.  AGP support is required
100	  for this driver to work.
101
102config DRM_I915
103	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
104	depends on DRM
105	depends on AGP
106	depends on AGP_INTEL
107	# we need shmfs for the swappable backing store, and in particular
108	# the shmem_readpage() which depends upon tmpfs
109	select SHMEM
110	select TMPFS
111	select DRM_KMS_HELPER
112	select FB_CFB_FILLRECT
113	select FB_CFB_COPYAREA
114	select FB_CFB_IMAGEBLIT
115	# i915 depends on ACPI_VIDEO when ACPI is enabled
116	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
117	select BACKLIGHT_LCD_SUPPORT if ACPI
118	select BACKLIGHT_CLASS_DEVICE if ACPI
119	select VIDEO_OUTPUT_CONTROL if ACPI
120	select INPUT if ACPI
121	select ACPI_VIDEO if ACPI
122	select ACPI_BUTTON if ACPI
123	help
124	  Choose this option if you have a system that has "Intel Graphics
125	  Media Accelerator" or "HD Graphics" integrated graphics,
126	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
127	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
128	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.
129	  If M is selected, the module will be called i915.  AGP support
130	  is required for this driver to work. This driver is used by
131	  the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
132	  replaces the older i830 module that supported a subset of the
133	  hardware in older X.org releases.
134
135	  Note that the older i810/i815 chipsets require the use of the
136	  i810 driver instead, and the Atom z5xx series has an entirely
137	  different implementation.
138
139config DRM_I915_KMS
140	bool "Enable modesetting on intel by default"
141	depends on DRM_I915
142	help
143	  Choose this option if you want kernel modesetting enabled by default,
144	  and you have a new enough userspace to support this. Running old
145	  userspaces with this enabled will cause pain.  Note that this causes
146	  the driver to bind to PCI devices, which precludes loading things
147	  like intelfb.
148
149config DRM_MGA
150	tristate "Matrox g200/g400"
151	depends on DRM && PCI
152	select FW_LOADER
153	help
154	  Choose this option if you have a Matrox G200, G400 or G450 graphics
155	  card.  If M is selected, the module will be called mga.  AGP
156	  support is required for this driver to work.
157
158config DRM_SIS
159	tristate "SiS video cards"
160	depends on DRM && AGP
161	depends on FB_SIS || FB_SIS=n
162	help
163	  Choose this option if you have a SiS 630 or compatible video
164          chipset. If M is selected the module will be called sis. AGP
165          support is required for this driver to work.
166
167config DRM_VIA
168	tristate "Via unichrome video cards"
169	depends on DRM && PCI
170	help
171	  Choose this option if you have a Via unichrome or compatible video
172	  chipset. If M is selected the module will be called via.
173
174config DRM_SAVAGE
175	tristate "Savage video cards"
176	depends on DRM && PCI
177	help
178	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
179	  chipset. If M is selected the module will be called savage.
180
181source "drivers/gpu/drm/exynos/Kconfig"
182
183source "drivers/gpu/drm/vmwgfx/Kconfig"
184
185source "drivers/gpu/drm/gma500/Kconfig"
186
187source "drivers/gpu/drm/udl/Kconfig"
188