summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-24 10:43:45 +0000
committerDave Airlie <airlied@linux.ie>2004-08-24 10:43:45 +0000
commiteac498baeaf9b57b448065b0fb9f4eeadbb9aa6b (patch)
tree0637dd9ae4cbdc3531177c16e3fdaa95812cf938 /linux/drmP.h
parent25e319c1ef5b6c002ddfe55338cd920240cc1dad (diff)
addmap-base-2 patch from Jon Smirl:
sets up the DRM to have the ability to have permanent maps while the driver is loaded...
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h2
1 files changed, 2 insertions, 0 deletions
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 );