diff options
| author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-22 17:47:35 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-22 18:05:58 -0400 |
| commit | dcc1a66a09420ccc5a22671bddc5a842f92d67e5 (patch) | |
| tree | 612610869ea027b80b721a0f205d217792b95f3d | |
| parent | 4f3865fb57a04db7cca068fed1c15badc064a302 (diff) | |
[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: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andi 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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | arch/x86_64/Kconfig | 5 | ||||
| -rw-r--r-- | drivers/char/agp/Kconfig | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 408d44a59756..7d3bc5ac5db0 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
| @@ -389,6 +389,7 @@ config GART_IOMMU | |||
| 389 | bool "K8 GART IOMMU support" | 389 | bool "K8 GART IOMMU support" |
| 390 | default y | 390 | default y |
| 391 | select SWIOTLB | 391 | select SWIOTLB |
| 392 | select AGP | ||
| 392 | depends on PCI | 393 | depends on PCI |
| 393 | help | 394 | help |
| 394 | Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors | 395 | Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors |
| @@ -401,11 +402,9 @@ config GART_IOMMU | |||
| 401 | northbridge and a software emulation used on other systems without | 402 | northbridge and a software emulation used on other systems without |
| 402 | hardware IOMMU. If unsure, say Y. | 403 | hardware IOMMU. If unsure, say Y. |
| 403 | 404 | ||
| 404 | # need this always enabled with GART_IOMMU for the VIA workaround | 405 | # need this always selected by GART_IOMMU for the VIA workaround |
| 405 | config SWIOTLB | 406 | config SWIOTLB |
| 406 | bool | 407 | bool |
| 407 | default y | ||
| 408 | depends on GART_IOMMU | ||
| 409 | 408 | ||
| 410 | config X86_MCE | 409 | config X86_MCE |
| 411 | bool "Machine check support" if EMBEDDED | 410 | bool "Machine check support" if EMBEDDED |
diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig index 7c88c060a9e6..46685a540772 100644 --- a/drivers/char/agp/Kconfig +++ b/drivers/char/agp/Kconfig | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | config AGP | 1 | config AGP |
| 2 | tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU | 2 | tristate "/dev/agpgart (AGP Support)" |
| 3 | depends on ALPHA || IA64 || PPC || X86 | 3 | depends on ALPHA || IA64 || PPC || X86 |
| 4 | default y if GART_IOMMU | ||
| 5 | ---help--- | 4 | ---help--- |
| 6 | AGP (Accelerated Graphics Port) is a bus system mainly used to | 5 | AGP (Accelerated Graphics Port) is a bus system mainly used to |
| 7 | connect graphics cards to the rest of the system. | 6 | connect graphics cards to the rest of the system. |
