aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-11-11 06:33:39 -0500
committerDave Airlie <airlied@linux.ie>2005-11-11 06:33:39 -0500
commitefa58395bee82dc5a87805e7eb7c710e88eb4bd7 (patch)
tree39b845cda408682638f48d955a066592863ba2d0 /drivers/char/drm/drmP.h
parent732052ed3e7539d87136dd833be523747af3fb3e (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.h12
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,
925extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t * info); 925extern int drm_agp_info(drm_device_t * dev, drm_agp_info_t * info);
926extern int drm_agp_info_ioctl(struct inode *inode, struct file *filp, 926extern 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);
928extern int drm_agp_alloc(struct inode *inode, struct file *filp, 928extern int drm_agp_alloc(drm_device_t *dev, drm_agp_buffer_t *request);
929extern 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);
930extern int drm_agp_free(struct inode *inode, struct file *filp, 931extern int drm_agp_free(drm_device_t *dev, drm_agp_buffer_t *request);
932extern 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);
932extern int drm_agp_unbind(struct inode *inode, struct file *filp, 934extern int drm_agp_unbind(drm_device_t *dev, drm_agp_binding_t *request);
935extern 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);
934extern int drm_agp_bind(struct inode *inode, struct file *filp, 937extern int drm_agp_bind(drm_device_t *dev, drm_agp_binding_t *request);
938extern 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);
936extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, 940extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge,
937 size_t pages, u32 type); 941 size_t pages, u32 type);