xref: /linux/drivers/gpu/drm/Kconfig (revision 70967ab9c0c9017645d167d33675eab996633631)
1c0e09200SDave Airlie#
2c0e09200SDave Airlie# Drm device configuration
3c0e09200SDave Airlie#
4c0e09200SDave Airlie# This driver provides support for the
5c0e09200SDave Airlie# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
6c0e09200SDave Airlie#
7c0e09200SDave Airliemenuconfig DRM
8c0e09200SDave Airlie	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
9e798ba57SHugh Dickins	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
1057a6297eSDave Airlie	select I2C
1157a6297eSDave Airlie	select I2C_ALGOBIT
12c0e09200SDave Airlie	help
13c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
14c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
15c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
16c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
17c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
18c0e09200SDave Airlie	  details.  You should also select and configure AGP
19c0e09200SDave Airlie	  (/dev/agpgart) support.
20c0e09200SDave Airlie
21ba4e7d97SThomas Hellstromconfig DRM_TTM
22771fe6b9SJerome Glisse	tristate
23ba4e7d97SThomas Hellstrom	depends on DRM
24ba4e7d97SThomas Hellstrom	help
25ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
26ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
27ba4e7d97SThomas Hellstrom	  uses it.
28ba4e7d97SThomas Hellstrom
29c0e09200SDave Airlieconfig DRM_TDFX
30c0e09200SDave Airlie	tristate "3dfx Banshee/Voodoo3+"
31c0e09200SDave Airlie	depends on DRM && PCI
32c0e09200SDave Airlie	help
33c0e09200SDave Airlie	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
34c0e09200SDave Airlie	  graphics card.  If M is selected, the module will be called tdfx.
35c0e09200SDave Airlie
36c0e09200SDave Airlieconfig DRM_R128
37c0e09200SDave Airlie	tristate "ATI Rage 128"
38c0e09200SDave Airlie	depends on DRM && PCI
3952f97df5SBen Hutchings	select FW_LOADER
40c0e09200SDave Airlie	help
41c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
42c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
43c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
44c0e09200SDave Airlie
45c0e09200SDave Airlieconfig DRM_RADEON
46c0e09200SDave Airlie	tristate "ATI Radeon"
47c0e09200SDave Airlie	depends on DRM && PCI
48771fe6b9SJerome Glisse	select FB_CFB_FILLRECT
49771fe6b9SJerome Glisse	select FB_CFB_COPYAREA
50771fe6b9SJerome Glisse	select FB_CFB_IMAGEBLIT
51771fe6b9SJerome Glisse	select FB
52771fe6b9SJerome Glisse	select FRAMEBUFFER_CONSOLE if !EMBEDDED
53*70967ab9SBen Hutchings	select FW_LOADER
54c0e09200SDave Airlie	help
55c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
56c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
57c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
58c0e09200SDave Airlie
59c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
60c0e09200SDave Airlie
61c0e09200SDave Airlieconfig DRM_I810
62c0e09200SDave Airlie	tristate "Intel I810"
63c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
64c0e09200SDave Airlie	help
65c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
66c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
67c0e09200SDave Airlie	  for this driver to work.
68c0e09200SDave Airlie
69c0e09200SDave Airliechoice
70c0e09200SDave Airlie	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
71c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
72c0e09200SDave Airlie	optional
73c0e09200SDave Airlie
74c0e09200SDave Airlieconfig DRM_I830
75c0e09200SDave Airlie	tristate "i830 driver"
76c0e09200SDave Airlie	help
77c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
78c0e09200SDave Airlie	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
79c0e09200SDave Airlie	  module will be called i830.  AGP support is required for this driver
80c0e09200SDave Airlie	  to work. This driver is used by the older X releases X.org 6.7 and
81c0e09200SDave Airlie	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
82c0e09200SDave Airlie	  will load the correct one.
83c0e09200SDave Airlie
84c0e09200SDave Airlieconfig DRM_I915
8531db5645SLen Brown	tristate "i915 driver"
868c52da50SEric Anholt	depends on AGP_INTEL
8706d9f33cSEric Anholt	select FB_CFB_FILLRECT
8806d9f33cSEric Anholt	select FB_CFB_COPYAREA
8906d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
90d2f59357SIngo Molnar	select FB
91f29ce727SJesse Barnes	select FRAMEBUFFER_CONSOLE if !EMBEDDED
9231db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
9331db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
9431db5645SLen Brown	select VIDEO_OUTPUT_CONTROL if ACPI
9531db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
9631db5645SLen Brown	select INPUT if ACPI
9731db5645SLen Brown	select ACPI_VIDEO if ACPI
98c0e09200SDave Airlie	help
99c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
100c0e09200SDave Airlie	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
101c0e09200SDave Airlie	  module will be called i915.  AGP support is required for this driver
102c0e09200SDave Airlie	  to work. This driver is used by the Intel driver in X.org 6.8 and
103c0e09200SDave Airlie	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
104c0e09200SDave Airlie	  the X server will load the correct one.
105c0e09200SDave Airlie
10679e53945SJesse Barnesconfig DRM_I915_KMS
10779e53945SJesse Barnes	bool "Enable modesetting on intel by default"
10879e53945SJesse Barnes	depends on DRM_I915
10979e53945SJesse Barnes	help
11079e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
11179e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
11279e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
11379e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
11479e53945SJesse Barnes	  like intelfb.
11579e53945SJesse Barnes
116a1a5c3b9SKrzysztof Heltendchoice
11779e53945SJesse Barnes
118c0e09200SDave Airlieconfig DRM_MGA
119c0e09200SDave Airlie	tristate "Matrox g200/g400"
120c0e09200SDave Airlie	depends on DRM
121ece2be79SBen Hutchings	select FW_LOADER
122c0e09200SDave Airlie	help
123c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
124c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
125c0e09200SDave Airlie	  support is required for this driver to work.
126c0e09200SDave Airlie
127c0e09200SDave Airlieconfig DRM_SIS
128c0e09200SDave Airlie	tristate "SiS video cards"
129c0e09200SDave Airlie	depends on DRM && AGP
130dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
131c0e09200SDave Airlie	help
132c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
133c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
134c0e09200SDave Airlie          support is required for this driver to work.
135c0e09200SDave Airlie
136c0e09200SDave Airlieconfig DRM_VIA
137c0e09200SDave Airlie	tristate "Via unichrome video cards"
138c0e09200SDave Airlie	depends on DRM
139c0e09200SDave Airlie	help
140c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
141c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
142c0e09200SDave Airlie
143c0e09200SDave Airlieconfig DRM_SAVAGE
144c0e09200SDave Airlie	tristate "Savage video cards"
145c0e09200SDave Airlie	depends on DRM
146c0e09200SDave Airlie	help
147c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
148c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
149