summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-10-31 15:16:44 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-10-31 15:16:44 +0000
commit5128542814215b26ed342e3a4ac2217606fe5e76 (patch)
tree28c7727811940e5285c41928b112ca059dcac67c /linux/drmP.h
parent8264e2c8aa6b2811bca0e45c50ac3328d14bfbf7 (diff)
Allow drivers to override reclaim_buffers in an OS-independent way by
passing drm_device_t* as first parameter, like in the BSD version.
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index 6717d2c9..4d136bf5 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -528,7 +528,7 @@ struct drm_driver_fn {
void (*irq_preinstall)(struct drm_device *dev);
void (*irq_postinstall)(struct drm_device *dev);
void (*irq_uninstall)(struct drm_device *dev);
- void (*reclaim_buffers)(struct file *filp);
+ void (*reclaim_buffers)(struct drm_device *dev, struct file *filp);
unsigned long (*get_map_ofs)(drm_map_t *map);
unsigned long (*get_reg_ofs)(struct drm_device *dev);
void (*set_version)(struct drm_device *dev, drm_set_version_t *sv);
@@ -870,7 +870,7 @@ extern int DRM(mapbufs)( struct inode *inode, struct file *filp,
extern int DRM(dma_setup)(drm_device_t *dev);
extern void DRM(dma_takedown)(drm_device_t *dev);
extern void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf);
-extern void DRM(reclaim_buffers)( struct file *filp );
+extern void DRM(core_reclaim_buffers)(drm_device_t *dev, struct file *filp);
/* IRQ support (drm_irq.h) */
extern int DRM(control)( struct inode *inode, struct file *filp,