aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h34
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) */
892extern 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);
895extern int drm_addmap_ioctl(struct inode *inode, struct file *filp,
896 unsigned int cmd, unsigned long arg);
897extern int drm_rmmap(drm_device_t *dev, void *handle);
898extern int drm_rmmap_ioctl(struct inode *inode, struct file *filp,
899 unsigned int cmd, unsigned long arg);
900
892extern int drm_order( unsigned long size ); 901extern int drm_order( unsigned long size );
893extern int drm_addmap( struct inode *inode, struct file *filp,
894 unsigned int cmd, unsigned long arg );
895extern int drm_rmmap( struct inode *inode, struct file *filp,
896 unsigned int cmd, unsigned long arg );
897extern int drm_addbufs( struct inode *inode, struct file *filp, 902extern int drm_addbufs( struct inode *inode, struct file *filp,
898 unsigned int cmd, unsigned long arg ); 903 unsigned int cmd, unsigned long arg );
899extern int drm_infobufs( struct inode *inode, struct file *filp, 904extern 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) */
929extern drm_agp_head_t *drm_agp_init(drm_device_t *dev); 934extern drm_agp_head_t *drm_agp_init(drm_device_t *dev);
930extern int drm_agp_acquire(struct inode *inode, struct file *filp, 935extern int drm_agp_acquire(drm_device_t * dev);
931 unsigned int cmd, unsigned long arg); 936extern int drm_agp_acquire_ioctl(struct inode *inode, struct file *filp,
932extern void drm_agp_do_release(drm_device_t *dev); 937 unsigned int cmd, unsigned long arg);
933extern int drm_agp_release(struct inode *inode, struct file *filp, 938extern int drm_agp_release(drm_device_t *dev);
934 unsigned int cmd, unsigned long arg); 939extern int drm_agp_release_ioctl(struct inode *inode, struct file *filp,
935extern int drm_agp_enable(struct inode *inode, struct file *filp, 940 unsigned int cmd, unsigned long arg);
936 unsigned int cmd, unsigned long arg); 941extern int drm_agp_enable(drm_device_t *dev, drm_agp_mode_t mode);
937extern int drm_agp_info(struct inode *inode, struct file *filp, 942extern 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);
944extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t *info);
945extern int drm_agp_info_ioctl(struct inode *inode, struct file *filp,
946 unsigned int cmd, unsigned long arg);
939extern int drm_agp_alloc(struct inode *inode, struct file *filp, 947extern int drm_agp_alloc(struct inode *inode, struct file *filp,
940 unsigned int cmd, unsigned long arg); 948 unsigned int cmd, unsigned long arg);
941extern int drm_agp_free(struct inode *inode, struct file *filp, 949extern int drm_agp_free(struct inode *inode, struct file *filp,