diff options
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index a7fdcece6129..fb2af9279148 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -908,10 +908,11 @@ extern int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request); | |||
908 | extern int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request); | 908 | extern int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request); |
909 | extern int drm_addmap(drm_device_t *dev, unsigned int offset, | 909 | extern int drm_addmap(drm_device_t *dev, unsigned int offset, |
910 | unsigned int size, drm_map_type_t type, | 910 | unsigned int size, drm_map_type_t type, |
911 | drm_map_flags_t flags, drm_map_t **map_ptr); | 911 | drm_map_flags_t flags, drm_local_map_t **map_ptr); |
912 | extern int drm_addmap_ioctl(struct inode *inode, struct file *filp, | 912 | extern int drm_addmap_ioctl(struct inode *inode, struct file *filp, |
913 | unsigned int cmd, unsigned long arg); | 913 | unsigned int cmd, unsigned long arg); |
914 | extern int drm_rmmap(drm_device_t *dev, void *handle); | 914 | extern int drm_rmmap(drm_device_t *dev, drm_local_map_t *map); |
915 | extern int drm_rmmap_locked(drm_device_t *dev, drm_local_map_t *map); | ||
915 | extern int drm_rmmap_ioctl(struct inode *inode, struct file *filp, | 916 | extern int drm_rmmap_ioctl(struct inode *inode, struct file *filp, |
916 | unsigned int cmd, unsigned long arg); | 917 | unsigned int cmd, unsigned long arg); |
917 | 918 | ||
@@ -926,6 +927,10 @@ extern int drm_freebufs( struct inode *inode, struct file *filp, | |||
926 | unsigned int cmd, unsigned long arg ); | 927 | unsigned int cmd, unsigned long arg ); |
927 | extern int drm_mapbufs( struct inode *inode, struct file *filp, | 928 | extern int drm_mapbufs( struct inode *inode, struct file *filp, |
928 | unsigned int cmd, unsigned long arg ); | 929 | unsigned int cmd, unsigned long arg ); |
930 | extern unsigned long drm_get_resource_start(drm_device_t *dev, | ||
931 | unsigned int resource); | ||
932 | extern unsigned long drm_get_resource_len(drm_device_t *dev, | ||
933 | unsigned int resource); | ||
929 | 934 | ||
930 | /* DMA support (drm_dma.h) */ | 935 | /* DMA support (drm_dma.h) */ |
931 | extern int drm_dma_setup(drm_device_t *dev); | 936 | extern int drm_dma_setup(drm_device_t *dev); |