diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-07-16 22:15:01 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-07-16 22:15:01 -0700 |
commit | 7f98815d0027b1d4bd07b08e540106d5e994bcc5 (patch) | |
tree | abde22f7374d8d32cb0e3fc85deed9773165dfdf /linux-core/drmP.h | |
parent | bcba7ba981a88e27ad4d7e8ebcdbed7097cf1488 (diff) |
Make drm_sg_free callable in-kernel.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 2bbc6200..ebb530bc 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -1135,8 +1135,9 @@ extern void drm_sg_cleanup(drm_sg_mem_t * entry); extern int drm_sg_alloc_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); extern int drm_sg_alloc(drm_device_t *dev, drm_scatter_gather_t * request); -extern int drm_sg_free(struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg); +extern int drm_sg_free(struct drm_device *dev, unsigned long handle); +extern int drm_sg_free_ioctl(struct inode *inode, struct file *filp, + unsigned int cmd, unsigned long arg); /* ATI PCIGART support (ati_pcigart.h) */ extern int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info *gart_info); |