xref: /linux-6.15/drivers/gpu/drm/Kconfig (revision ba4e7d97)
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
21*ba4e7d97SThomas Hellstromconfig DRM_TTM
22*ba4e7d97SThomas Hellstrom	tristate "TTM memory manager"
23*ba4e7d97SThomas Hellstrom	depends on DRM
24*ba4e7d97SThomas Hellstrom	help
25*ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
26*ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
27*ba4e7d97SThomas Hellstrom	  uses it.
28*ba4e7d97SThomas 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
39c0e09200SDave Airlie	help
40c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
41c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
42c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
43c0e09200SDave Airlie
44c0e09200SDave Airlieconfig DRM_RADEON
45c0e09200SDave Airlie	tristate "ATI Radeon"
46c0e09200SDave Airlie	depends on DRM && PCI
47c0e09200SDave Airlie	help
48c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
49c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
50c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
51c0e09200SDave Airlie
52c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
53c0e09200SDave Airlie
54c0e09200SDave Airlieconfig DRM_I810
55c0e09200SDave Airlie	tristate "Intel I810"
56c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
57c0e09200SDave Airlie	help
58c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
59c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
60c0e09200SDave Airlie	  for this driver to work.
61c0e09200SDave Airlie
62c0e09200SDave Airliechoice
63c0e09200SDave Airlie	prompt "Intel 830M, 845G, 852GM, 855GM, 865G"
64c0e09200SDave Airlie	depends on DRM && AGP && AGP_INTEL
65c0e09200SDave Airlie	optional
66c0e09200SDave Airlie
67c0e09200SDave Airlieconfig DRM_I830
68c0e09200SDave Airlie	tristate "i830 driver"
69c0e09200SDave Airlie	help
70c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
71c0e09200SDave Airlie	  852GM, 855GM or 865G integrated graphics.  If M is selected, the
72c0e09200SDave Airlie	  module will be called i830.  AGP support is required for this driver
73c0e09200SDave Airlie	  to work. This driver is used by the older X releases X.org 6.7 and
74c0e09200SDave Airlie	  XFree86 4.3. If unsure, build this and i915 as modules and the X server
75c0e09200SDave Airlie	  will load the correct one.
76c0e09200SDave Airlie
77c0e09200SDave Airlieconfig DRM_I915
7831db5645SLen Brown	tristate "i915 driver"
7906d9f33cSEric Anholt	select FB_CFB_FILLRECT
8006d9f33cSEric Anholt	select FB_CFB_COPYAREA
8106d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
82d2f59357SIngo Molnar	select FB
83f29ce727SJesse Barnes	select FRAMEBUFFER_CONSOLE if !EMBEDDED
8431db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
8531db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
8631db5645SLen Brown	select VIDEO_OUTPUT_CONTROL if ACPI
8731db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
8831db5645SLen Brown	select INPUT if ACPI
8931db5645SLen Brown	select ACPI_VIDEO if ACPI
90c0e09200SDave Airlie	help
91c0e09200SDave Airlie	  Choose this option if you have a system that has Intel 830M, 845G,
92c0e09200SDave Airlie	  852GM, 855GM 865G or 915G integrated graphics.  If M is selected, the
93c0e09200SDave Airlie	  module will be called i915.  AGP support is required for this driver
94c0e09200SDave Airlie	  to work. This driver is used by the Intel driver in X.org 6.8 and
95c0e09200SDave Airlie	  XFree86 4.4 and above. If unsure, build this and i830 as modules and
96c0e09200SDave Airlie	  the X server will load the correct one.
97c0e09200SDave Airlie
9879e53945SJesse Barnesconfig DRM_I915_KMS
9979e53945SJesse Barnes	bool "Enable modesetting on intel by default"
10079e53945SJesse Barnes	depends on DRM_I915
10179e53945SJesse Barnes	help
10279e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
10379e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
10479e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
10579e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
10679e53945SJesse Barnes	  like intelfb.
10779e53945SJesse Barnes
108a1a5c3b9SKrzysztof Heltendchoice
10979e53945SJesse Barnes
110c0e09200SDave Airlieconfig DRM_MGA
111c0e09200SDave Airlie	tristate "Matrox g200/g400"
112c0e09200SDave Airlie	depends on DRM
113c0e09200SDave Airlie	help
114c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
115c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
116c0e09200SDave Airlie	  support is required for this driver to work.
117c0e09200SDave Airlie
118c0e09200SDave Airlieconfig DRM_SIS
119c0e09200SDave Airlie	tristate "SiS video cards"
120c0e09200SDave Airlie	depends on DRM && AGP
121dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
122c0e09200SDave Airlie	help
123c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
124c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
125c0e09200SDave Airlie          support is required for this driver to work.
126c0e09200SDave Airlie
127c0e09200SDave Airlieconfig DRM_VIA
128c0e09200SDave Airlie	tristate "Via unichrome video cards"
129c0e09200SDave Airlie	depends on DRM
130c0e09200SDave Airlie	help
131c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
132c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
133c0e09200SDave Airlie
134c0e09200SDave Airlieconfig DRM_SAVAGE
135c0e09200SDave Airlie	tristate "Savage video cards"
136c0e09200SDave Airlie	depends on DRM
137c0e09200SDave Airlie	help
138c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
139c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
140