allow dristat to find out whether AGP is write-combined or not.
parent
d1774bb44c
commit
971c2f8ad5
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue