patch-2.4.9 linux/drivers/char/drm/ati_pcigart.h
Next file: linux/drivers/char/drm/drm_context.h
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 14:21:50 2001
- Orig file:
v2.4.8/linux/drivers/char/drm/ati_pcigart.h
- Orig date:
Sun Aug 12 13:27:59 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/char/drm/ati_pcigart.h linux/drivers/char/drm/ati_pcigart.h
@@ -111,7 +111,7 @@
memset( pci_gart, 0, ATI_MAX_PCIGART_PAGES * sizeof(u32) );
for ( i = 0 ; i < pages ; i++ ) {
- page_base = virt_to_bus( entry->pagelist[i]->virtual );
+ page_base = page_to_bus( entry->pagelist[i] );
for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) {
*pci_gart++ = cpu_to_le32( page_base );
page_base += ATI_PCIGART_PAGE_SIZE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)