]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/gpu/drm/Kconfig
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
[mirror_ubuntu-bionic-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
1da177e4
LT
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
dcdb1674 19 (/dev/agpgart) support if it is available for your platform.
1da177e4 20
9c1dfc55
DA
21config DRM_USB
22 tristate
23 depends on DRM
24 select USB
25
6fcefd56 26config DRM_KMS_HELPER
13a8195b
DA
27 tristate
28 depends on DRM
29 select FB
6a108a14 30 select FRAMEBUFFER_CONSOLE if !EXPERT
bf5192ed 31 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
13a8195b 32 help
6fcefd56 33 FB and CRTC helpers for KMS drivers.
13a8195b 34
da0df92b
CE
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
ba4e7d97 47config DRM_TTM
771fe6b9 48 tristate
ba4e7d97
TH
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
1da177e4
LT
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
1da177e4
LT
62config DRM_R128
63 tristate "ATI Rage 128"
64 depends on DRM && PCI
52f97df5 65 select FW_LOADER
1da177e4
LT
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
771fe6b9
JG
74 select FB_CFB_FILLRECT
75 select FB_CFB_COPYAREA
76 select FB_CFB_IMAGEBLIT
70967ab9 77 select FW_LOADER
a0cdc649
DA
78 select DRM_KMS_HELPER
79 select DRM_TTM
5d9b7e2d 80 select POWER_SUPPLY
21a8122a 81 select HWMON
1da177e4
LT
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
7b9af345 85 run the Radeon in plain VGA mode.
bc5f4523 86
1da177e4
LT
87 If M is selected, the module will be called radeon.
88
f71d0187
DA
89source "drivers/gpu/drm/radeon/Kconfig"
90
f3c93cbd
BS
91source "drivers/gpu/drm/nouveau/Kconfig"
92
1da177e4
LT
93config DRM_I810
94 tristate "Intel I810"
1f692a14
AB
95 # !PREEMPT because of missing ioctl locking
96 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
1da177e4
LT
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
1da177e4 102config DRM_I915
7f506847
AB
103 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
104 depends on DRM
105 depends on AGP
8c52da50 106 depends on AGP_INTEL
f7ab9b40
CW
107 # we need shmfs for the swappable backing store, and in particular
108 # the shmem_readpage() which depends upon tmpfs
ca9ab100 109 select SHMEM
f7ab9b40 110 select TMPFS
6fcefd56 111 select DRM_KMS_HELPER
06d9f33c
EA
112 select FB_CFB_FILLRECT
113 select FB_CFB_COPYAREA
114 select FB_CFB_IMAGEBLIT
31db5645
LB
115 # i915 depends on ACPI_VIDEO when ACPI is enabled
116 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
44a1dabf 117 select BACKLIGHT_LCD_SUPPORT if ACPI
31db5645 118 select BACKLIGHT_CLASS_DEVICE if ACPI
cbf15bdb 119 select VIDEO_OUTPUT_CONTROL if ACPI
31db5645
LB
120 select INPUT if ACPI
121 select ACPI_VIDEO if ACPI
c1c7af60 122 select ACPI_BUTTON if ACPI
1da177e4 123 help
7f506847
AB
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.
bc5f4523 138
79e53945
JB
139config DRM_I915_KMS
140 bool "Enable modesetting on intel by default"
141 depends on DRM_I915
142 help
a1a5c3b9
KH
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.
79e53945 148
1da177e4
LT
149config DRM_MGA
150 tristate "Matrox g200/g400"
f5f05c8a 151 depends on DRM && PCI
ece2be79 152 select FW_LOADER
1da177e4
LT
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
dfcf96d0 161 depends on FB_SIS || FB_SIS=n
1da177e4 162 help
bc5f4523 163 Choose this option if you have a SiS 630 or compatible video
1da177e4
LT
164 chipset. If M is selected the module will be called sis. AGP
165 support is required for this driver to work.
166
22f579c6
DA
167config DRM_VIA
168 tristate "Via unichrome video cards"
f5f05c8a 169 depends on DRM && PCI
22f579c6
DA
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
282a1674
DA
174config DRM_SAVAGE
175 tristate "Savage video cards"
f5f05c8a 176 depends on DRM && PCI
282a1674
DA
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.
1c248b7d 180
5a7b74be
TH
181source "drivers/gpu/drm/exynos/Kconfig"
182
183source "drivers/gpu/drm/vmwgfx/Kconfig"
91c75492
AC
184
185source "drivers/gpu/drm/gma500/Kconfig"
186
5320918b 187source "drivers/gpu/drm/udl/Kconfig"