From 971c2f8ad582bd0d6b97ed503c9e5abaa9feee02 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 5 Mar 2001 16:02:40 +0000 Subject: allow dristat to find out whether AGP is write-combined or not. --- linux/drm_bufs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drm_bufs.h') 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: -- cgit v1.2.3