allow dristat to find out whether AGP is write-combined or not.

main
Alan Hourihane 2001-03-05 16:02:40 +00:00
parent d1774bb44c
commit 971c2f8ad5
2 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
#if __REALLY_HAVE_AGP
case _DRM_AGP:
map->offset = map->offset + dev->agp->base;
map->mtrr = dev->agp->agp_mtrr; /* for getmap */
break;
#endif
default:

View File

@ -128,6 +128,7 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
#if __REALLY_HAVE_AGP
case _DRM_AGP:
map->offset = map->offset + dev->agp->base;
map->mtrr = dev->agp->agp_mtrr; /* for getmap */
break;
#endif
default: