Commit dcc1a66a authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds

[PATCH] x86_64: use select for GART_IOMMU to enable AGP

The AGP default doesn't work well with other selects, so use a select for
GART_IOMMU as well.  Remove a redundant default for SWIOTLB as well.
Signed-off-by: default avatarRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4f3865fb
...@@ -389,6 +389,7 @@ config GART_IOMMU ...@@ -389,6 +389,7 @@ config GART_IOMMU
bool "K8 GART IOMMU support" bool "K8 GART IOMMU support"
default y default y
select SWIOTLB select SWIOTLB
select AGP
depends on PCI depends on PCI
help help
Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors
...@@ -401,11 +402,9 @@ config GART_IOMMU ...@@ -401,11 +402,9 @@ config GART_IOMMU
northbridge and a software emulation used on other systems without northbridge and a software emulation used on other systems without
hardware IOMMU. If unsure, say Y. hardware IOMMU. If unsure, say Y.
# need this always enabled with GART_IOMMU for the VIA workaround # need this always selected by GART_IOMMU for the VIA workaround
config SWIOTLB config SWIOTLB
bool bool
default y
depends on GART_IOMMU
config X86_MCE config X86_MCE
bool "Machine check support" if EMBEDDED bool "Machine check support" if EMBEDDED
......
config AGP config AGP
tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU tristate "/dev/agpgart (AGP Support)"
depends on ALPHA || IA64 || PPC || X86 depends on ALPHA || IA64 || PPC || X86
default y if GART_IOMMU
---help--- ---help---
AGP (Accelerated Graphics Port) is a bus system mainly used to AGP (Accelerated Graphics Port) is a bus system mainly used to
connect graphics cards to the rest of the system. connect graphics cards to the rest of the system.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment