[PATCH] [1/7] x86_64: Disable aperture pci region check in amd64 AGP driver

Andi Kleen ak at suse.de
Fri May 5 20:32:56 CEST 2006


One report that it rejects aperture in memory allocated by aperture.c

Cc: davej at redhat.com

Signed-off-by: Andi Kleen <ak at suse.de>

---
 drivers/char/agp/amd64-agp.c |    2 ++
 1 files changed, 2 insertions(+)

Index: linux/drivers/char/agp/amd64-agp.c
===================================================================
--- linux.orig/drivers/char/agp/amd64-agp.c
+++ linux/drivers/char/agp/amd64-agp.c
@@ -295,6 +295,7 @@ static int __devinit aperture_valid(u64 
 		}
 	}
 
+#if 0
 	/* Request the Aperture. This catches cases when someone else
 	   already put a mapping in there - happens with some very broken BIOS
 
@@ -305,6 +306,7 @@ static int __devinit aperture_valid(u64 
 		printk(KERN_ERR PFX "Aperture conflicts with PCI mapping.\n");
 		return 0;
 	}
+#endif
 	return 1;
 }
 



More information about the discuss mailing list