drm/radeon/kms: add support for ucode loading on trinity (v2)
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / Kconfig
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 #
7 menuconfig 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
21 config DRM_USB
22         tristate
23         depends on DRM
24         select USB
25
26 config 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
35 config 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
47 config 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
55 config 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
62 config 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
71 config 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
89 source "drivers/gpu/drm/radeon/Kconfig"
90
91 config DRM_I810
92         tristate "Intel I810"
93         # !PREEMPT because of missing ioctl locking
94         depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
95         help
96           Choose this option if you have an Intel I810 graphics card.  If M is
97           selected, the module will be called i810.  AGP support is required
98           for this driver to work.
99
100 config DRM_I915
101         tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
102         depends on DRM
103         depends on AGP
104         depends on AGP_INTEL
105         # we need shmfs for the swappable backing store, and in particular
106         # the shmem_readpage() which depends upon tmpfs
107         select SHMEM
108         select TMPFS
109         select DRM_KMS_HELPER
110         select FB_CFB_FILLRECT
111         select FB_CFB_COPYAREA
112         select FB_CFB_IMAGEBLIT
113         # i915 depends on ACPI_VIDEO when ACPI is enabled
114         # but for select to work, need to select ACPI_VIDEO's dependencies, ick
115         select BACKLIGHT_LCD_SUPPORT if ACPI
116         select BACKLIGHT_CLASS_DEVICE if ACPI
117         select VIDEO_OUTPUT_CONTROL if ACPI
118         select INPUT if ACPI
119         select ACPI_VIDEO if ACPI
120         select ACPI_BUTTON if ACPI
121         help
122           Choose this option if you have a system that has "Intel Graphics
123           Media Accelerator" or "HD Graphics" integrated graphics,
124           including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
125           G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
126           Core i5, Core i7 as well as Atom CPUs with integrated graphics.
127           If M is selected, the module will be called i915.  AGP support
128           is required for this driver to work. This driver is used by
129           the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
130           replaces the older i830 module that supported a subset of the
131           hardware in older X.org releases.
132
133           Note that the older i810/i815 chipsets require the use of the
134           i810 driver instead, and the Atom z5xx series has an entirely
135           different implementation.
136
137 config DRM_I915_KMS
138         bool "Enable modesetting on intel by default"
139         depends on DRM_I915
140         help
141           Choose this option if you want kernel modesetting enabled by default,
142           and you have a new enough userspace to support this. Running old
143           userspaces with this enabled will cause pain.  Note that this causes
144           the driver to bind to PCI devices, which precludes loading things
145           like intelfb.
146
147 config DRM_MGA
148         tristate "Matrox g200/g400"
149         depends on DRM && PCI
150         select FW_LOADER
151         help
152           Choose this option if you have a Matrox G200, G400 or G450 graphics
153           card.  If M is selected, the module will be called mga.  AGP
154           support is required for this driver to work.
155
156 config DRM_SIS
157         tristate "SiS video cards"
158         depends on DRM && AGP
159         depends on FB_SIS || FB_SIS=n
160         help
161           Choose this option if you have a SiS 630 or compatible video
162           chipset. If M is selected the module will be called sis. AGP
163           support is required for this driver to work.
164
165 config DRM_VIA
166         tristate "Via unichrome video cards"
167         depends on DRM && PCI
168         help
169           Choose this option if you have a Via unichrome or compatible video
170           chipset. If M is selected the module will be called via.
171
172 config DRM_SAVAGE
173         tristate "Savage video cards"
174         depends on DRM && PCI
175         help
176           Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
177           chipset. If M is selected the module will be called savage.
178
179 source "drivers/gpu/drm/exynos/Kconfig"
180
181 source "drivers/gpu/drm/vmwgfx/Kconfig"
182
183 source "drivers/gpu/drm/gma500/Kconfig"
184
185 source "drivers/gpu/drm/udl/Kconfig"