162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_cimenuconfig AGP
362306a36Sopenharmony_ci	tristate "/dev/agpgart (AGP Support)"
462306a36Sopenharmony_ci	depends on ALPHA || IA64 || PARISC || PPC || X86
562306a36Sopenharmony_ci	depends on PCI
662306a36Sopenharmony_ci	help
762306a36Sopenharmony_ci	  AGP (Accelerated Graphics Port) is a bus system mainly used to
862306a36Sopenharmony_ci	  connect graphics cards to the rest of the system.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci	  If you have an AGP system and you say Y here, it will be possible to
1162306a36Sopenharmony_ci	  use the AGP features of your 3D rendering video card. This code acts
1262306a36Sopenharmony_ci	  as a sort of "AGP driver" for the motherboard's chipset.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  If you need more texture memory than you can get with the AGP GART
1562306a36Sopenharmony_ci	  (theoretically up to 256 MB, but in practice usually 64 or 128 MB
1662306a36Sopenharmony_ci	  due to kernel allocation issues), you could use PCI accesses
1762306a36Sopenharmony_ci	  and have up to a couple gigs of texture space.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  Note that this is the only means to have X/GLX use
2062306a36Sopenharmony_ci	  write-combining with MTRR support on the AGP bus. Without it, OpenGL
2162306a36Sopenharmony_ci	  direct rendering will be a lot slower but still faster than PIO.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
2462306a36Sopenharmony_ci	  module will be called agpgart.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci	  You should say Y here if you want to use GLX or DRI.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	  If unsure, say N.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig AGP_ALI
3162306a36Sopenharmony_ci	tristate "ALI chipset support"
3262306a36Sopenharmony_ci	depends on AGP && X86_32
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
3562306a36Sopenharmony_ci	  X on the following ALi chipsets.  The supported chipsets
3662306a36Sopenharmony_ci	  include M1541, M1621, M1631, M1632, M1641,M1647,and M1651.
3762306a36Sopenharmony_ci	  For the ALi-chipset question, ALi suggests you refer to
3862306a36Sopenharmony_ci	  <http://www.ali.com.tw/>.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci	  The M1541 chipset can do AGP 1x and 2x, but note that there is an
4162306a36Sopenharmony_ci	  acknowledged incompatibility with Matrox G200 cards. Due to
4262306a36Sopenharmony_ci	  timing issues, this chipset cannot do AGP 2x with the G200.
4362306a36Sopenharmony_ci	  This is a hardware limitation. AGP 1x seems to be fine, though.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig AGP_ATI
4662306a36Sopenharmony_ci	tristate "ATI chipset support"
4762306a36Sopenharmony_ci	depends on AGP && X86_32
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
5062306a36Sopenharmony_ci	  X on the ATI RadeonIGP family of chipsets.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciconfig AGP_AMD
5362306a36Sopenharmony_ci	tristate "AMD Irongate, 761, and 762 chipset support"
5462306a36Sopenharmony_ci	depends on AGP && X86_32
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
5762306a36Sopenharmony_ci	  X on AMD Irongate, 761, and 762 chipsets.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig AGP_AMD64
6062306a36Sopenharmony_ci	tristate "AMD Opteron/Athlon64 on-CPU GART support"
6162306a36Sopenharmony_ci	depends on AGP && X86 && AMD_NB
6262306a36Sopenharmony_ci	help
6362306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
6462306a36Sopenharmony_ci	  X using the on-CPU northbridge of the AMD Athlon64/Opteron CPUs.
6562306a36Sopenharmony_ci	  You still need an external AGP bridge like the AMD 8151, VIA
6662306a36Sopenharmony_ci	  K8T400M, SiS755. It may also support other AGP bridges when loaded
6762306a36Sopenharmony_ci	  with agp_try_unsupported=1.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig AGP_INTEL
7062306a36Sopenharmony_ci	tristate "Intel 440LX/BX/GX, I8xx and E7x05 chipset support"
7162306a36Sopenharmony_ci	depends on AGP && X86
7262306a36Sopenharmony_ci	select INTEL_GTT
7362306a36Sopenharmony_ci	help
7462306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of X
7562306a36Sopenharmony_ci	  on Intel 440LX/BX/GX, 815, 820, 830, 840, 845, 850, 860, 875,
7662306a36Sopenharmony_ci	  E7205 and E7505 chipsets and full support for the 810, 815, 830M,
7762306a36Sopenharmony_ci	  845G, 852GM, 855GM, 865G and I915 integrated graphics chipsets.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciconfig AGP_NVIDIA
8262306a36Sopenharmony_ci	tristate "NVIDIA nForce/nForce2 chipset support"
8362306a36Sopenharmony_ci	depends on AGP && X86_32
8462306a36Sopenharmony_ci	help
8562306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
8662306a36Sopenharmony_ci	  X on NVIDIA chipsets including nForce and nForce2
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciconfig AGP_SIS
8962306a36Sopenharmony_ci	tristate "SiS chipset support"
9062306a36Sopenharmony_ci	depends on AGP && X86
9162306a36Sopenharmony_ci	help
9262306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
9362306a36Sopenharmony_ci	  X on Silicon Integrated Systems [SiS] chipsets.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ci	  Note that 5591/5592 AGP chipsets are NOT supported.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci
9862306a36Sopenharmony_ciconfig AGP_SWORKS
9962306a36Sopenharmony_ci	tristate "Serverworks LE/HE chipset support"
10062306a36Sopenharmony_ci	depends on AGP && X86_32
10162306a36Sopenharmony_ci	help
10262306a36Sopenharmony_ci	  Say Y here to support the Serverworks AGP card.  See
10362306a36Sopenharmony_ci	  <http://www.serverworks.com/> for product descriptions and images.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ciconfig AGP_VIA
10662306a36Sopenharmony_ci	tristate "VIA chipset support"
10762306a36Sopenharmony_ci	depends on AGP && X86
10862306a36Sopenharmony_ci	help
10962306a36Sopenharmony_ci	  This option gives you AGP support for the GLX component of
11062306a36Sopenharmony_ci	  X on VIA MVP3/Apollo Pro chipsets.
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ciconfig AGP_I460
11362306a36Sopenharmony_ci	tristate "Intel 460GX chipset support"
11462306a36Sopenharmony_ci	depends on AGP && IA64
11562306a36Sopenharmony_ci	help
11662306a36Sopenharmony_ci	  This option gives you AGP GART support for the Intel 460GX chipset
11762306a36Sopenharmony_ci	  for IA64 processors.
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciconfig AGP_HP_ZX1
12062306a36Sopenharmony_ci	tristate "HP ZX1 chipset AGP support"
12162306a36Sopenharmony_ci	depends on AGP && IA64
12262306a36Sopenharmony_ci	help
12362306a36Sopenharmony_ci	  This option gives you AGP GART support for the HP ZX1 chipset
12462306a36Sopenharmony_ci	  for IA64 processors.
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ciconfig AGP_PARISC
12762306a36Sopenharmony_ci	tristate "HP Quicksilver AGP support"
12862306a36Sopenharmony_ci	depends on AGP && PARISC && 64BIT && IOMMU_SBA
12962306a36Sopenharmony_ci	help
13062306a36Sopenharmony_ci	  This option gives you AGP GART support for the HP Quicksilver
13162306a36Sopenharmony_ci	  AGP bus adapter on HP PA-RISC machines (Ok, just on the C8000
13262306a36Sopenharmony_ci	  workstation...)
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ciconfig AGP_ALPHA_CORE
13562306a36Sopenharmony_ci	tristate "Alpha AGP support"
13662306a36Sopenharmony_ci	depends on AGP && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL)
13762306a36Sopenharmony_ci	default AGP
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ciconfig AGP_UNINORTH
14062306a36Sopenharmony_ci	tristate "Apple UniNorth & U3 AGP support"
14162306a36Sopenharmony_ci	depends on AGP && PPC_PMAC
14262306a36Sopenharmony_ci	help
14362306a36Sopenharmony_ci	  This option gives you AGP support for Apple machines with a
14462306a36Sopenharmony_ci	  UniNorth or U3 (Apple G5) bridge.
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ciconfig AGP_EFFICEON
14762306a36Sopenharmony_ci	tristate "Transmeta Efficeon support"
14862306a36Sopenharmony_ci	depends on AGP && X86_32
14962306a36Sopenharmony_ci	help
15062306a36Sopenharmony_ci	  This option gives you AGP support for the Transmeta Efficeon
15162306a36Sopenharmony_ci	  series processors with integrated northbridges.
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ciconfig INTEL_GTT
15462306a36Sopenharmony_ci	tristate
15562306a36Sopenharmony_ci	depends on X86 && PCI
15662306a36Sopenharmony_ci
157