blob: f5d46e7199d48d03c12bfbc7b866540e607cddf1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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#
Randy Dunlap179b0252007-10-16 01:29:39 -07007menuconfig DRM
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
Hugh Dickinse798ba52008-10-21 00:04:04 +01009 depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
Dave Airlie57a62972008-12-13 18:21:08 +100010 select I2C
11 select I2C_ALGOBIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 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
21config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070028config 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
36config 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
Adrian Bunk7b9af342006-03-20 20:23:13 +010042 run the Radeon in plain VGA mode.
Dave Airliebc5f4522007-11-05 12:50:58 +100043
Linus Torvalds1da177e2005-04-16 15:20:36 -070044 If M is selected, the module will be called radeon.
45
46config 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
54choice
55 prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
56 depends on DRM && AGP && AGP_INTEL
57 optional
58
59config 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
Dave Airlied000b482006-08-12 16:03:52 +100065 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -070068
69config DRM_I915
Len Brown31db5642009-05-29 21:11:27 -040070 tristate "i915 driver"
Eric Anholt06d9f332008-12-03 22:43:14 -080071 select FB_CFB_FILLRECT
72 select FB_CFB_COPYAREA
73 select FB_CFB_IMAGEBLIT
Ingo Molnard2f59352009-02-05 16:03:34 +010074 select FB
Jesse Barnesf29ce722009-05-12 09:08:31 -070075 select FRAMEBUFFER_CONSOLE if !EMBEDDED
Len Brown31db5642009-05-29 21:11:27 -040076 # i915 depends on ACPI_VIDEO when ACPI is enabled
77 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
78 select VIDEO_OUTPUT_CONTROL if ACPI
79 select BACKLIGHT_CLASS_DEVICE if ACPI
80 select INPUT if ACPI
81 select ACPI_VIDEO if ACPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 help
83 Choose this option if you have a system that has Intel 830M, 845G,
84 852GM, 855GM 865G or 915G integrated graphics. If M is selected, the
85 module will be called i915. AGP support is required for this driver
Dave Airlied000b482006-08-12 16:03:52 +100086 to work. This driver is used by the Intel driver in X.org 6.8 and
Dave Airliebc5f4522007-11-05 12:50:58 +100087 XFree86 4.4 and above. If unsure, build this and i830 as modules and
Dave Airlied000b482006-08-12 16:03:52 +100088 the X server will load the correct one.
Dave Airliebc5f4522007-11-05 12:50:58 +100089
Jesse Barnes79e53942008-11-07 14:24:08 -080090config DRM_I915_KMS
91 bool "Enable modesetting on intel by default"
92 depends on DRM_I915
93 help
Krzysztof Helta1a5c3b2009-02-18 14:48:38 -080094 Choose this option if you want kernel modesetting enabled by default,
95 and you have a new enough userspace to support this. Running old
96 userspaces with this enabled will cause pain. Note that this causes
97 the driver to bind to PCI devices, which precludes loading things
98 like intelfb.
Jesse Barnes79e53942008-11-07 14:24:08 -080099
Krzysztof Helta1a5c3b2009-02-18 14:48:38 -0800100endchoice
Jesse Barnes79e53942008-11-07 14:24:08 -0800101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102config DRM_MGA
103 tristate "Matrox g200/g400"
Dave Airlie6795c982005-07-10 18:20:09 +1000104 depends on DRM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 help
106 Choose this option if you have a Matrox G200, G400 or G450 graphics
107 card. If M is selected, the module will be called mga. AGP
108 support is required for this driver to work.
109
110config DRM_SIS
111 tristate "SiS video cards"
112 depends on DRM && AGP
Adrian Bunkdfcf96d2008-08-24 17:11:22 +1000113 depends on FB_SIS || FB_SIS=n
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 help
Dave Airliebc5f4522007-11-05 12:50:58 +1000115 Choose this option if you have a SiS 630 or compatible video
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 chipset. If M is selected the module will be called sis. AGP
117 support is required for this driver to work.
118
Dave Airlie22f579c2005-06-28 22:48:56 +1000119config DRM_VIA
120 tristate "Via unichrome video cards"
121 depends on DRM
122 help
123 Choose this option if you have a Via unichrome or compatible video
124 chipset. If M is selected the module will be called via.
125
Dave Airlie282a1672005-08-07 15:43:54 +1000126config DRM_SAVAGE
127 tristate "Savage video cards"
128 depends on DRM
129 help
130 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
131 chipset. If M is selected the module will be called savage.