ACPI, i915: build fix
[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) && PCI && !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.
20
21 config DRM_TDFX
22         tristate "3dfx Banshee/Voodoo3+"
23         depends on DRM && PCI
24         help
25           Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
26           graphics card.  If M is selected, the module will be called tdfx.
27
28 config DRM_R128
29         tristate "ATI Rage 128"
30         depends on DRM && PCI
31         help
32           Choose this option if you have an ATI Rage 128 graphics card.  If M
33           is selected, the module will be called r128.  AGP support for
34           this card is strongly suggested (unless you have a PCI version).
35
36 config DRM_RADEON
37         tristate "ATI Radeon"
38         depends on DRM && PCI
39         help
40           Choose this option if you have an ATI Radeon graphics card.  There
41           are both PCI and AGP versions.  You don't need to choose this to
42           run the Radeon in plain VGA mode.
43
44           If M is selected, the module will be called radeon.
45
46 config DRM_I810
47         tristate "Intel I810"
48         depends on DRM && AGP && AGP_INTEL
49         help
50           Choose this option if you have an Intel I810 graphics card.  If M is
51           selected, the module will be called i810.  AGP support is required
52           for this driver to work.
53
54 choice
55         prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
56         depends on DRM && AGP && AGP_INTEL
57         optional
58
59 config DRM_I830
60         tristate "i830 driver"
61         help
62           Choose this option if you have a system that has Intel 830M, 845G,
63           852GM, 855GM or 865G integrated graphics.  If M is selected, the
64           module will be called i830.  AGP support is required for this driver
65           to work. This driver is used by the older X releases X.org 6.7 and
66           XFree86 4.3. If unsure, build this and i915 as modules and the X server
67           will load the correct one.
68
69 config DRM_I915
70         select FB_CFB_FILLRECT
71         select FB_CFB_COPYAREA
72         select FB_CFB_IMAGEBLIT
73         select FB
74         tristate "i915 driver"
75         help
76           Choose this option if you have a system that has Intel 830M, 845G,
77           852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
78           module will be called i915.  AGP support is required for this driver
79           to work. This driver is used by the Intel driver in X.org 6.8 and
80           XFree86 4.4 and above. If unsure, build this and i830 as modules and
81           the X server will load the correct one.
82
83 config DRM_I915_KMS
84         bool "Enable modesetting on intel by default"
85         depends on DRM_I915
86         # i915 KMS depends on ACPI_VIDEO when ACPI is enabled
87         # but for select to work, need to select ACPI_VIDEO's dependencies, ick
88         select VIDEO_OUTPUT_CONTROL if ACPI
89         select BACKLIGHT_CLASS_DEVICE if ACPI
90         select INPUT if ACPI
91         select ACPI_VIDEO if ACPI
92         help
93           Choose this option if you want kernel modesetting enabled by default,
94           and you have a new enough userspace to support this. Running old
95           userspaces with this enabled will cause pain.  Note that this causes
96           the driver to bind to PCI devices, which precludes loading things
97           like intelfb.
98
99 endchoice
100
101 config DRM_MGA
102         tristate "Matrox g200/g400"
103         depends on DRM
104         help
105           Choose this option if you have a Matrox G200, G400 or G450 graphics
106           card.  If M is selected, the module will be called mga.  AGP
107           support is required for this driver to work.
108
109 config DRM_SIS
110         tristate "SiS video cards"
111         depends on DRM && AGP
112         depends on FB_SIS || FB_SIS=n
113         help
114           Choose this option if you have a SiS 630 or compatible video
115           chipset. If M is selected the module will be called sis. AGP
116           support is required for this driver to work.
117
118 config DRM_VIA
119         tristate "Via unichrome video cards"
120         depends on DRM
121         help
122           Choose this option if you have a Via unichrome or compatible video
123           chipset. If M is selected the module will be called via.
124
125 config DRM_SAVAGE
126         tristate "Savage video cards"
127         depends on DRM
128         help
129           Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
130           chipset. If M is selected the module will be called savage.