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