The way it is written, CONFIG_AGP is always y for x86_64 - not so nice
when you want to use nvagp instead which requries agpgart to be
Signed-off-by: Jan Engelhardt <firstname.lastname@example.org>
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6c70fed..1b2ce6c 100644
@@ -429,12 +429,17 @@ config HPET_EMULATE_RTC
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
+# Hack to make AGP selectable as module
# Mark as embedded because too many people got it wrong.
# The code disables itself when not needed.
- bool "GART IOMMU support" if EMBEDDED
- default y
+ tristate "GART IOMMU support" if EMBEDDED
+ default m
+ select GART_IOMMU_BASE
depends on X86_64 && PCI
On Fri, 18 Apr 2008 23:21:44 +0200 (CEST)
where's the source code for nvagp? what does it do that normal agp does not do?
Also.. running without agp on x86-64 (heck on x86) tends to be rather unpleasant wrt resource allocations..
So I don't think this patch is a good idea at all..
If you want to reach me at my work email, use email@example.com
For development, discussion and tips for power savings,