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