Displaying 1 result from an estimated 1 matches for "gatt_siz".
Did you mean:
  gatt_size
  
2006 Jan 16
13
Support for AGP aperture as IOMMU in AMD64 mode [2/2]
...+
 int no_iommu; 
 static int no_agp; 
 #ifdef CONFIG_IOMMU_DEBUG
@@ -416,7 +422,7 @@
 	if (!dev)
 		dev = &fallback_dev;
 
-	phys_mem = virt_to_phys(addr); 
+	phys_mem = virt_to_bus(addr);
 	if (!need_iommu(dev, phys_mem, size))
 		return phys_mem; 
 
@@ -721,6 +727,7 @@
 	unsigned aper_size, gatt_size, new_aper_size;
 	
 	printk(KERN_INFO "PCI-DMA: Disabling AGP.\n");
+
 	aper_size = aper_base = info->aper_size = 0;
 	for_all_nb(dev) { 
 		new_aper_base = read_aperture(dev, &new_aper_size); 
@@ -740,17 +747,20 @@
 	info->aper_size = aper_size>>20; 
 
 	gatt_size = (ape...