xref: /linux/drivers/gpu/drm/Kconfig (revision 6a108a14fa356ef607be308b68337939e56ea94e)
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)"
9dcdb1674SJordan Crouse	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
1057a6297eSDave Airlie	select I2C
1157a6297eSDave Airlie	select I2C_ALGOBIT
12eb1f8e4fSDave Airlie	select SLOW_WORK
13c0e09200SDave Airlie	help
14c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
15c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
16c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
17c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
18c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
19c0e09200SDave Airlie	  details.  You should also select and configure AGP
20dcdb1674SJordan Crouse	  (/dev/agpgart) support if it is available for your platform.
21c0e09200SDave Airlie
226fcefd56SDave Airlieconfig DRM_KMS_HELPER
2313a8195bSDave Airlie	tristate
2413a8195bSDave Airlie	depends on DRM
2513a8195bSDave Airlie	select FB
26*6a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
2713a8195bSDave Airlie	help
286fcefd56SDave Airlie	  FB and CRTC helpers for KMS drivers.
2913a8195bSDave Airlie
30ba4e7d97SThomas Hellstromconfig DRM_TTM
31771fe6b9SJerome Glisse	tristate
32ba4e7d97SThomas Hellstrom	depends on DRM
33ba4e7d97SThomas Hellstrom	help
34ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
35ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
36ba4e7d97SThomas Hellstrom	  uses it.
37ba4e7d97SThomas Hellstrom
38c0e09200SDave Airlieconfig DRM_TDFX
39c0e09200SDave Airlie	tristate "3dfx Banshee/Voodoo3+"
40c0e09200SDave Airlie	depends on DRM && PCI
41c0e09200SDave Airlie	help
42c0e09200SDave Airlie	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
43c0e09200SDave Airlie	  graphics card.  If M is selected, the module will be called tdfx.
44c0e09200SDave Airlie
45c0e09200SDave Airlieconfig DRM_R128
46c0e09200SDave Airlie	tristate "ATI Rage 128"
47c0e09200SDave Airlie	depends on DRM && PCI
4852f97df5SBen Hutchings	select FW_LOADER
49c0e09200SDave Airlie	help
50c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
51c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
52c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
53c0e09200SDave Airlie
54c0e09200SDave Airlieconfig DRM_RADEON
55c0e09200SDave Airlie	tristate "ATI Radeon"
56c0e09200SDave Airlie	depends on DRM && PCI
57771fe6b9SJerome Glisse	select FB_CFB_FILLRECT
58771fe6b9SJerome Glisse	select FB_CFB_COPYAREA
59771fe6b9SJerome Glisse	select FB_CFB_IMAGEBLIT
6070967ab9SBen Hutchings	select FW_LOADER
61a0cdc649SDave Airlie        select DRM_KMS_HELPER
62a0cdc649SDave Airlie        select DRM_TTM
635d9b7e2dSDave Airlie	select POWER_SUPPLY
6421a8122aSAlex Deucher	select HWMON
65c0e09200SDave Airlie	help
66c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
67c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
68c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
69c0e09200SDave Airlie
70c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
71c0e09200SDave Airlie
72f71d0187SDave Airliesource "drivers/gpu/drm/radeon/Kconfig"
73f71d0187SDave Airlie
74c0e09200SDave Airlieconfig DRM_I810
75c0e09200SDave Airlie	tristate "Intel I810"
766de5bd12SArnd Bergmann	# BKL usage in order to avoid AB-BA deadlocks, may become BROKEN_ON_SMP
776de5bd12SArnd Bergmann	depends on DRM && AGP && AGP_INTEL && BKL
78c0e09200SDave Airlie	help
79c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
80c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
81c0e09200SDave Airlie	  for this driver to work.
82c0e09200SDave Airlie
83c0e09200SDave Airliechoice
84c0e09200SDave Airlie	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
85c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
86c0e09200SDave Airlie	optional
87c0e09200SDave Airlie
88c0e09200SDave Airlieconfig DRM_I830
89c0e09200SDave Airlie	tristate "i830 driver"
906de5bd12SArnd Bergmann	# BKL usage in order to avoid AB-BA deadlocks, i830 may get removed
916de5bd12SArnd Bergmann	depends on BKL
92c0e09200SDave Airlie	help
93c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
94c0e09200SDave Airlie	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
95c0e09200SDave Airlie	  module will be called i830.  AGP support is required for this driver
96c0e09200SDave Airlie	  to work. This driver is used by the older X releases X.org 6.7 and
97c0e09200SDave Airlie	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
98c0e09200SDave Airlie	  will load the correct one.
99c0e09200SDave Airlie
100c0e09200SDave Airlieconfig DRM_I915
10131db5645SLen Brown	tristate "i915 driver"
1028c52da50SEric Anholt	depends on AGP_INTEL
103ca9ab100SChris Wilson	select SHMEM
1046fcefd56SDave Airlie	select DRM_KMS_HELPER
10506d9f33cSEric Anholt	select FB_CFB_FILLRECT
10606d9f33cSEric Anholt	select FB_CFB_COPYAREA
10706d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
10831db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
10931db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
11031db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
11131db5645SLen Brown	select INPUT if ACPI
11231db5645SLen Brown	select ACPI_VIDEO if ACPI
113c1c7af60SJesse Barnes	select ACPI_BUTTON if ACPI
114c0e09200SDave Airlie	help
115c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
116c0e09200SDave Airlie	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
117c0e09200SDave Airlie	  module will be called i915.  AGP support is required for this driver
118c0e09200SDave Airlie	  to work. This driver is used by the Intel driver in X.org 6.8 and
119c0e09200SDave Airlie	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
120c0e09200SDave Airlie	  the X server will load the correct one.
121c0e09200SDave Airlie
12279e53945SJesse Barnesconfig DRM_I915_KMS
12379e53945SJesse Barnes	bool "Enable modesetting on intel by default"
12479e53945SJesse Barnes	depends on DRM_I915
12579e53945SJesse Barnes	help
12679e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
12779e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
12879e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
12979e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
13079e53945SJesse Barnes	  like intelfb.
13179e53945SJesse Barnes
132a1a5c3b9SKrzysztof Heltendchoice
13379e53945SJesse Barnes
134c0e09200SDave Airlieconfig DRM_MGA
135c0e09200SDave Airlie	tristate "Matrox g200/g400"
136f5f05c8aSDave Airlie	depends on DRM && PCI
137ece2be79SBen Hutchings	select FW_LOADER
138c0e09200SDave Airlie	help
139c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
140c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
141c0e09200SDave Airlie	  support is required for this driver to work.
142c0e09200SDave Airlie
143c0e09200SDave Airlieconfig DRM_SIS
144c0e09200SDave Airlie	tristate "SiS video cards"
145c0e09200SDave Airlie	depends on DRM && AGP
146dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
147c0e09200SDave Airlie	help
148c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
149c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
150c0e09200SDave Airlie          support is required for this driver to work.
151c0e09200SDave Airlie
152c0e09200SDave Airlieconfig DRM_VIA
153c0e09200SDave Airlie	tristate "Via unichrome video cards"
154f5f05c8aSDave Airlie	depends on DRM && PCI
155c0e09200SDave Airlie	help
156c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
157c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
158c0e09200SDave Airlie
159c0e09200SDave Airlieconfig DRM_SAVAGE
160c0e09200SDave Airlie	tristate "Savage video cards"
161f5f05c8aSDave Airlie	depends on DRM && PCI
162c0e09200SDave Airlie	help
163c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
164c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
165