From eac498baeaf9b57b448065b0fb9f4eeadbb9aa6b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 24 Aug 2004 10:43:45 +0000 Subject: addmap-base-2 patch from Jon Smirl: sets up the DRM to have the ability to have permanent maps while the driver is loaded... --- linux/drmP.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drmP.h') diff --git a/linux/drmP.h b/linux/drmP.h index 75fb999a..4271a7a2 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -831,6 +831,8 @@ extern int DRM(addmap)( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); extern int DRM(rmmap)( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); +extern int DRM(initmap)( drm_device_t *dev, unsigned int offset, + unsigned int size, int type, int flags ); #if __HAVE_DMA extern int DRM(addbufs)( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); -- cgit v1.2.3