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