mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 03:38:03 +02:00
allow dristat to find out whether AGP is write-combined or not.
This commit is contained in:
parent
d1774bb44c
commit
971c2f8ad5
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue