diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-11-11 06:33:39 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-11-11 06:33:39 -0500 |
commit | efa58395bee82dc5a87805e7eb7c710e88eb4bd7 (patch) | |
tree | 39b845cda408682638f48d955a066592863ba2d0 /drivers/char/drm/drmP.h | |
parent | 732052ed3e7539d87136dd833be523747af3fb3e (diff) |
drm: add in-kernel entry points for rest of AGP ioctls
Allow DRM modules to call AGP internally in the kernel.
From: Ian Romanick <idr@us.ibm.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index e9ede8d69e20..66814291949a 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -925,13 +925,17 @@ extern int drm_agp_enable_ioctl(struct inode *inode, struct file *filp, | |||
925 | extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t * info); | 925 | extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t * info); |
926 | extern int drm_agp_info_ioctl(struct inode *inode, struct file *filp, | 926 | extern int drm_agp_info_ioctl(struct inode *inode, struct file *filp, |
927 | unsigned int cmd, unsigned long arg); | 927 | unsigned int cmd, unsigned long arg); |
928 | extern int drm_agp_alloc(struct inode *inode, struct file *filp, | 928 | extern int drm_agp_alloc(drm_device_t *dev, drm_agp_buffer_t *request); |
929 | extern int drm_agp_alloc_ioctl(struct inode *inode, struct file *filp, | ||
929 | unsigned int cmd, unsigned long arg); | 930 | unsigned int cmd, unsigned long arg); |
930 | extern int drm_agp_free(struct inode *inode, struct file *filp, | 931 | extern int drm_agp_free(drm_device_t *dev, drm_agp_buffer_t *request); |
932 | extern int drm_agp_free_ioctl(struct inode *inode, struct file *filp, | ||
931 | unsigned int cmd, unsigned long arg); | 933 | unsigned int cmd, unsigned long arg); |
932 | extern int drm_agp_unbind(struct inode *inode, struct file *filp, | 934 | extern int drm_agp_unbind(drm_device_t *dev, drm_agp_binding_t *request); |
935 | extern int drm_agp_unbind_ioctl(struct inode *inode, struct file *filp, | ||
933 | unsigned int cmd, unsigned long arg); | 936 | unsigned int cmd, unsigned long arg); |
934 | extern int drm_agp_bind(struct inode *inode, struct file *filp, | 937 | extern int drm_agp_bind(drm_device_t *dev, drm_agp_binding_t *request); |
938 | extern int drm_agp_bind_ioctl(struct inode *inode, struct file *filp, | ||
935 | unsigned int cmd, unsigned long arg); | 939 | unsigned int cmd, unsigned long arg); |
936 | extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, | 940 | extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, |
937 | size_t pages, u32 type); | 941 | size_t pages, u32 type); |