diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-03-05 16:02:40 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-03-05 16:02:40 +0000 |
commit | 971c2f8ad582bd0d6b97ed503c9e5abaa9feee02 (patch) | |
tree | 971aa7c11bc908e0a20049762af52eef106f576e /linux/drm_bufs.h | |
parent | d1774bb44cdc1b5ce606c299b8eea1793f4352e3 (diff) |
allow dristat to find out whether AGP is write-combined or not.
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r-- | linux/drm_bufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h index 38ea1ff0..b7e27d17 100644 --- a/linux/drm_bufs.h +++ b/linux/drm_bufs.h @@ -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: |