summaryrefslogtreecommitdiff
path: root/linux/drm_dma.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/drm_dma.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/drm_dma.h')
-rw-r--r--linux/drm_dma.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index 5cbdc931..dbf38dbf 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -154,10 +154,8 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf)
*
* Frees each buffer associated with \p filp not already on the hardware.
*/
-void DRM(core_reclaim_buffers)( struct file *filp )
+void DRM(core_reclaim_buffers)( drm_device_t *dev, struct file *filp )
{
- drm_file_t *priv = filp->private_data;
- drm_device_t *dev = priv->dev;
drm_device_dma_t *dma = dev->dma;
int i;