summaryrefslogtreecommitdiff
path: root/linux-core/drm_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-29 12:04:35 +0000
committerDave Airlie <airlied@linux.ie>2004-08-29 12:04:35 +0000
commit1430163b4bbf7b00367ea1066c1c5fe85dbeefed (patch)
tree478348e12b86280253f91beb4b23ed90ea349b04 /linux-core/drm_dma.c
parent6916572c1c32cd030258ab917f0a568517d5006b (diff)
Drop GAMMA DRM from a great height ...
Diffstat (limited to 'linux-core/drm_dma.c')
-rw-r--r--linux-core/drm_dma.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index 096a5e9e..da9a90b6 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -108,8 +108,6 @@ void DRM(dma_takedown)(drm_device_t *dev)
sizeof(*dma->bufs[0].buflist),
DRM_MEM_BUFS);
- if (dev->fn_tbl.freelist_destroy)
- dev->fn_tbl.freelist_destroy(&dma->bufs[i].freelist);
}
}
@@ -149,13 +147,6 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf)
if ( (dev->driver_features & DRIVER_DMA_QUEUE) && waitqueue_active(&buf->dma_wait)) {
wake_up_interruptible(&buf->dma_wait);
}
- /* If processes are waiting, the last one
- to wake will put the buffer on the free
- list. If no processes are waiting, we
- put the buffer on the freelist here. */
- else if (dev->fn_tbl.freelist_put)
- dev->fn_tbl.freelist_put(dev, &dev->dma->bufs[buf->order].freelist, buf);
-
}
/**