diff options
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 7e633a9ce933..d16d07e28b4c 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -889,11 +889,16 @@ extern int drm_lock_free(drm_device_t *dev, | |||
889 | unsigned int context); | 889 | unsigned int context); |
890 | 890 | ||
891 | /* Buffer management support (drm_bufs.h) */ | 891 | /* Buffer management support (drm_bufs.h) */ |
892 | extern int drm_addmap(drm_device_t *dev, unsigned int offset, | ||
893 | unsigned int size, drm_map_type_t type, | ||
894 | drm_map_flags_t flags, drm_map_t **map_ptr); | ||
895 | extern int drm_addmap_ioctl(struct inode *inode, struct file *filp, | ||
896 | unsigned int cmd, unsigned long arg); | ||
897 | extern int drm_rmmap(drm_device_t *dev, void *handle); | ||
898 | extern int drm_rmmap_ioctl(struct inode *inode, struct file *filp, | ||
899 | unsigned int cmd, unsigned long arg); | ||
900 | |||
892 | extern int drm_order( unsigned long size ); | 901 | extern int drm_order( unsigned long size ); |
893 | extern int drm_addmap( struct inode *inode, struct file *filp, | ||
894 | unsigned int cmd, unsigned long arg ); | ||
895 | extern int drm_rmmap( struct inode *inode, struct file *filp, | ||
896 | unsigned int cmd, unsigned long arg ); | ||
897 | extern int drm_addbufs( struct inode *inode, struct file *filp, | 902 | extern int drm_addbufs( struct inode *inode, struct file *filp, |
898 | unsigned int cmd, unsigned long arg ); | 903 | unsigned int cmd, unsigned long arg ); |
899 | extern int drm_infobufs( struct inode *inode, struct file *filp, | 904 | extern int drm_infobufs( struct inode *inode, struct file *filp, |
@@ -927,15 +932,18 @@ extern void drm_vbl_send_signals( drm_device_t *dev ); | |||
927 | 932 | ||
928 | /* AGP/GART support (drm_agpsupport.h) */ | 933 | /* AGP/GART support (drm_agpsupport.h) */ |
929 | extern drm_agp_head_t *drm_agp_init(drm_device_t *dev); | 934 | extern drm_agp_head_t *drm_agp_init(drm_device_t *dev); |
930 | extern int drm_agp_acquire(struct inode *inode, struct file *filp, | 935 | extern int drm_agp_acquire(drm_device_t * dev); |
931 | unsigned int cmd, unsigned long arg); | 936 | extern int drm_agp_acquire_ioctl(struct inode *inode, struct file *filp, |
932 | extern void drm_agp_do_release(drm_device_t *dev); | 937 | unsigned int cmd, unsigned long arg); |
933 | extern int drm_agp_release(struct inode *inode, struct file *filp, | 938 | extern int drm_agp_release(drm_device_t *dev); |
934 | unsigned int cmd, unsigned long arg); | 939 | extern int drm_agp_release_ioctl(struct inode *inode, struct file *filp, |
935 | extern int drm_agp_enable(struct inode *inode, struct file *filp, | 940 | unsigned int cmd, unsigned long arg); |
936 | unsigned int cmd, unsigned long arg); | 941 | extern int drm_agp_enable(drm_device_t *dev, drm_agp_mode_t mode); |
937 | extern int drm_agp_info(struct inode *inode, struct file *filp, | 942 | extern int drm_agp_enable_ioctl(struct inode *inode, struct file *filp, |
938 | unsigned int cmd, unsigned long arg); | 943 | unsigned int cmd, unsigned long arg); |
944 | extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t *info); | ||
945 | extern int drm_agp_info_ioctl(struct inode *inode, struct file *filp, | ||
946 | unsigned int cmd, unsigned long arg); | ||
939 | extern int drm_agp_alloc(struct inode *inode, struct file *filp, | 947 | extern int drm_agp_alloc(struct inode *inode, struct file *filp, |
940 | unsigned int cmd, unsigned long arg); | 948 | unsigned int cmd, unsigned long arg); |
941 | extern int drm_agp_free(struct inode *inode, struct file *filp, | 949 | extern int drm_agp_free(struct inode *inode, struct file *filp, |