xref: /linux/drivers/gpu/drm/Kconfig (revision a0cdc6495bdd0ea12390b9edaf13c8cb653df109)
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
216fcefd56SDave Airlieconfig DRM_KMS_HELPER
2213a8195bSDave Airlie	tristate
2313a8195bSDave Airlie	depends on DRM
2413a8195bSDave Airlie	select FB
256fcefd56SDave Airlie	select FRAMEBUFFER_CONSOLE if !EMBEDDED
2613a8195bSDave Airlie	help
276fcefd56SDave Airlie	  FB and CRTC helpers for KMS drivers.
2813a8195bSDave Airlie
29ba4e7d97SThomas Hellstromconfig DRM_TTM
30771fe6b9SJerome Glisse	tristate
31ba4e7d97SThomas Hellstrom	depends on DRM
32ba4e7d97SThomas Hellstrom	help
33ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
34ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
35ba4e7d97SThomas Hellstrom	  uses it.
36ba4e7d97SThomas Hellstrom
37c0e09200SDave Airlieconfig DRM_TDFX
38c0e09200SDave Airlie	tristate "3dfx Banshee/Voodoo3+"
39c0e09200SDave Airlie	depends on DRM && PCI
40c0e09200SDave Airlie	help
41c0e09200SDave Airlie	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
42c0e09200SDave Airlie	  graphics card.  If M is selected, the module will be called tdfx.
43c0e09200SDave Airlie
44c0e09200SDave Airlieconfig DRM_R128
45c0e09200SDave Airlie	tristate "ATI Rage 128"
46c0e09200SDave Airlie	depends on DRM && PCI
4752f97df5SBen Hutchings	select FW_LOADER
48c0e09200SDave Airlie	help
49c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
50c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
51c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
52c0e09200SDave Airlie
53c0e09200SDave Airlieconfig DRM_RADEON
54c0e09200SDave Airlie	tristate "ATI Radeon"
55c0e09200SDave Airlie	depends on DRM && PCI
56771fe6b9SJerome Glisse	select FB_CFB_FILLRECT
57771fe6b9SJerome Glisse	select FB_CFB_COPYAREA
58771fe6b9SJerome Glisse	select FB_CFB_IMAGEBLIT
5970967ab9SBen Hutchings	select FW_LOADER
60*a0cdc649SDave Airlie        select DRM_KMS_HELPER
61*a0cdc649SDave Airlie        select DRM_TTM
62c0e09200SDave Airlie	help
63c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
64c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
65c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
66c0e09200SDave Airlie
67c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
68c0e09200SDave Airlie
69c0e09200SDave Airlieconfig DRM_I810
70c0e09200SDave Airlie	tristate "Intel I810"
71c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
72c0e09200SDave Airlie	help
73c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
74c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
75c0e09200SDave Airlie	  for this driver to work.
76c0e09200SDave Airlie
77c0e09200SDave Airliechoice
78c0e09200SDave Airlie	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
79c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
80c0e09200SDave Airlie	optional
81c0e09200SDave Airlie
82c0e09200SDave Airlieconfig DRM_I830
83c0e09200SDave Airlie	tristate "i830 driver"
84c0e09200SDave Airlie	help
85c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
86c0e09200SDave Airlie	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
87c0e09200SDave Airlie	  module will be called i830.  AGP support is required for this driver
88c0e09200SDave Airlie	  to work. This driver is used by the older X releases X.org 6.7 and
89c0e09200SDave Airlie	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
90c0e09200SDave Airlie	  will load the correct one.
91c0e09200SDave Airlie
92c0e09200SDave Airlieconfig DRM_I915
9331db5645SLen Brown	tristate "i915 driver"
948c52da50SEric Anholt	depends on AGP_INTEL
956fcefd56SDave Airlie	select DRM_KMS_HELPER
9606d9f33cSEric Anholt	select FB_CFB_FILLRECT
9706d9f33cSEric Anholt	select FB_CFB_COPYAREA
9806d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
9931db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
10031db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
10131db5645SLen Brown	select VIDEO_OUTPUT_CONTROL if ACPI
10231db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
10331db5645SLen Brown	select INPUT if ACPI
10431db5645SLen Brown	select ACPI_VIDEO if ACPI
105c0e09200SDave Airlie	help
106c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
107c0e09200SDave Airlie	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
108c0e09200SDave Airlie	  module will be called i915.  AGP support is required for this driver
109c0e09200SDave Airlie	  to work. This driver is used by the Intel driver in X.org 6.8 and
110c0e09200SDave Airlie	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
111c0e09200SDave Airlie	  the X server will load the correct one.
112c0e09200SDave Airlie
11379e53945SJesse Barnesconfig DRM_I915_KMS
11479e53945SJesse Barnes	bool "Enable modesetting on intel by default"
11579e53945SJesse Barnes	depends on DRM_I915
11679e53945SJesse Barnes	help
11779e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
11879e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
11979e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
12079e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
12179e53945SJesse Barnes	  like intelfb.
12279e53945SJesse Barnes
123a1a5c3b9SKrzysztof Heltendchoice
12479e53945SJesse Barnes
125c0e09200SDave Airlieconfig DRM_MGA
126c0e09200SDave Airlie	tristate "Matrox g200/g400"
127c0e09200SDave Airlie	depends on DRM
128ece2be79SBen Hutchings	select FW_LOADER
129c0e09200SDave Airlie	help
130c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
131c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
132c0e09200SDave Airlie	  support is required for this driver to work.
133c0e09200SDave Airlie
134c0e09200SDave Airlieconfig DRM_SIS
135c0e09200SDave Airlie	tristate "SiS video cards"
136c0e09200SDave Airlie	depends on DRM && AGP
137dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
138c0e09200SDave Airlie	help
139c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
140c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
141c0e09200SDave Airlie          support is required for this driver to work.
142c0e09200SDave Airlie
143c0e09200SDave Airlieconfig DRM_VIA
144c0e09200SDave Airlie	tristate "Via unichrome video cards"
145c0e09200SDave Airlie	depends on DRM
146c0e09200SDave Airlie	help
147c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
148c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
149c0e09200SDave Airlie
150c0e09200SDave Airlieconfig DRM_SAVAGE
151c0e09200SDave Airlie	tristate "Savage video cards"
152c0e09200SDave Airlie	depends on DRM
153c0e09200SDave Airlie	help
154c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
155c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
156