]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/gpu/drm/Kconfig
DRM: Add DRM GEM CMA helper
[mirror_ubuntu-zesty-kernel.git] / drivers / gpu / drm / Kconfig
CommitLineData
1da177e4
LT
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#
179b025f 7menuconfig DRM
1da177e4 8 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
dcdb1674 9 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
57a6297e
DA
10 select I2C
11 select I2C_ALGOBIT
3248877e 12 select DMA_SHARED_BUFFER
1da177e4
LT
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
dcdb1674 20 (/dev/agpgart) support if it is available for your platform.
1da177e4 21
9c1dfc55
DA
22config DRM_USB
23 tristate
24 depends on DRM
95ca19cf 25 depends on USB_SUPPORT && USB_ARCH_HAS_HCD
9c1dfc55
DA
26 select USB
27
6fcefd56 28config DRM_KMS_HELPER
13a8195b
DA
29 tristate
30 depends on DRM
31 select FB
6a108a14 32 select FRAMEBUFFER_CONSOLE if !EXPERT
bf5192ed 33 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
13a8195b 34 help
6fcefd56 35 FB and CRTC helpers for KMS drivers.
13a8195b 36
da0df92b
CE
37config DRM_LOAD_EDID_FIRMWARE
38 bool "Allow to specify an EDID data set instead of probing for it"
39 depends on DRM_KMS_HELPER
40 help
41 Say Y here, if you want to use EDID data to be loaded from the
42 /lib/firmware directory or one of the provided built-in
43 data sets. This may be necessary, if the graphics adapter or
44 monitor are unable to provide appropriate EDID data. Since this
45 feature is provided as a workaround for broken hardware, the
46 default case is N. Details and instructions how to build your own
47 EDID data are given in Documentation/EDID/HOWTO.txt.
48
ba4e7d97 49config DRM_TTM
771fe6b9 50 tristate
ba4e7d97
TH
51 depends on DRM
52 help
53 GPU memory management subsystem for devices with multiple
54 GPU memory types. Will be enabled automatically if a device driver
55 uses it.
56
b9d47450
SH
57config DRM_GEM_CMA_HELPER
58 bool
59 depends on DRM
60 help
61 Choose this if you need the GEM CMA helper functions
62
1da177e4
LT
63config DRM_TDFX
64 tristate "3dfx Banshee/Voodoo3+"
65 depends on DRM && PCI
66 help
67 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
68 graphics card. If M is selected, the module will be called tdfx.
69
1da177e4
LT
70config DRM_R128
71 tristate "ATI Rage 128"
72 depends on DRM && PCI
52f97df5 73 select FW_LOADER
1da177e4
LT
74 help
75 Choose this option if you have an ATI Rage 128 graphics card. If M
76 is selected, the module will be called r128. AGP support for
77 this card is strongly suggested (unless you have a PCI version).
78
79config DRM_RADEON
80 tristate "ATI Radeon"
81 depends on DRM && PCI
771fe6b9
JG
82 select FB_CFB_FILLRECT
83 select FB_CFB_COPYAREA
84 select FB_CFB_IMAGEBLIT
70967ab9 85 select FW_LOADER
a0cdc649
DA
86 select DRM_KMS_HELPER
87 select DRM_TTM
5d9b7e2d 88 select POWER_SUPPLY
21a8122a 89 select HWMON
1da177e4
LT
90 help
91 Choose this option if you have an ATI Radeon graphics card. There
92 are both PCI and AGP versions. You don't need to choose this to
7b9af345 93 run the Radeon in plain VGA mode.
bc5f4523 94
1da177e4
LT
95 If M is selected, the module will be called radeon.
96
f71d0187
DA
97source "drivers/gpu/drm/radeon/Kconfig"
98
f3c93cbd
BS
99source "drivers/gpu/drm/nouveau/Kconfig"
100
1da177e4
LT
101config DRM_I810
102 tristate "Intel I810"
1f692a14
AB
103 # !PREEMPT because of missing ioctl locking
104 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
1da177e4
LT
105 help
106 Choose this option if you have an Intel I810 graphics card. If M is
107 selected, the module will be called i810. AGP support is required
108 for this driver to work.
109
1da177e4 110config DRM_I915
7f506847
AB
111 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
112 depends on DRM
113 depends on AGP
8c52da50 114 depends on AGP_INTEL
f7ab9b40
CW
115 # we need shmfs for the swappable backing store, and in particular
116 # the shmem_readpage() which depends upon tmpfs
ca9ab100 117 select SHMEM
f7ab9b40 118 select TMPFS
6fcefd56 119 select DRM_KMS_HELPER
06d9f33c
EA
120 select FB_CFB_FILLRECT
121 select FB_CFB_COPYAREA
122 select FB_CFB_IMAGEBLIT
31db5645
LB
123 # i915 depends on ACPI_VIDEO when ACPI is enabled
124 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
44a1dabf 125 select BACKLIGHT_LCD_SUPPORT if ACPI
31db5645 126 select BACKLIGHT_CLASS_DEVICE if ACPI
cbf15bdb 127 select VIDEO_OUTPUT_CONTROL if ACPI
31db5645
LB
128 select INPUT if ACPI
129 select ACPI_VIDEO if ACPI
c1c7af60 130 select ACPI_BUTTON if ACPI
1da177e4 131 help
7f506847
AB
132 Choose this option if you have a system that has "Intel Graphics
133 Media Accelerator" or "HD Graphics" integrated graphics,
134 including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
135 G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
136 Core i5, Core i7 as well as Atom CPUs with integrated graphics.
137 If M is selected, the module will be called i915. AGP support
138 is required for this driver to work. This driver is used by
139 the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
140 replaces the older i830 module that supported a subset of the
141 hardware in older X.org releases.
142
143 Note that the older i810/i815 chipsets require the use of the
144 i810 driver instead, and the Atom z5xx series has an entirely
145 different implementation.
bc5f4523 146
79e53945
JB
147config DRM_I915_KMS
148 bool "Enable modesetting on intel by default"
149 depends on DRM_I915
150 help
a1a5c3b9
KH
151 Choose this option if you want kernel modesetting enabled by default,
152 and you have a new enough userspace to support this. Running old
153 userspaces with this enabled will cause pain. Note that this causes
154 the driver to bind to PCI devices, which precludes loading things
155 like intelfb.
79e53945 156
1da177e4
LT
157config DRM_MGA
158 tristate "Matrox g200/g400"
f5f05c8a 159 depends on DRM && PCI
ece2be79 160 select FW_LOADER
1da177e4
LT
161 help
162 Choose this option if you have a Matrox G200, G400 or G450 graphics
163 card. If M is selected, the module will be called mga. AGP
164 support is required for this driver to work.
165
166config DRM_SIS
167 tristate "SiS video cards"
168 depends on DRM && AGP
dfcf96d0 169 depends on FB_SIS || FB_SIS=n
1da177e4 170 help
bc5f4523 171 Choose this option if you have a SiS 630 or compatible video
1da177e4
LT
172 chipset. If M is selected the module will be called sis. AGP
173 support is required for this driver to work.
174
22f579c6
DA
175config DRM_VIA
176 tristate "Via unichrome video cards"
f5f05c8a 177 depends on DRM && PCI
22f579c6
DA
178 help
179 Choose this option if you have a Via unichrome or compatible video
180 chipset. If M is selected the module will be called via.
181
282a1674
DA
182config DRM_SAVAGE
183 tristate "Savage video cards"
f5f05c8a 184 depends on DRM && PCI
282a1674
DA
185 help
186 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
187 chipset. If M is selected the module will be called savage.
1c248b7d 188
5a7b74be
TH
189source "drivers/gpu/drm/exynos/Kconfig"
190
191source "drivers/gpu/drm/vmwgfx/Kconfig"
91c75492
AC
192
193source "drivers/gpu/drm/gma500/Kconfig"
194
5320918b 195source "drivers/gpu/drm/udl/Kconfig"
312fec14
DA
196
197source "drivers/gpu/drm/ast/Kconfig"
198
414c4531 199source "drivers/gpu/drm/mgag200/Kconfig"
f9aa76a8
DA
200
201source "drivers/gpu/drm/cirrus/Kconfig"