diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:04:35 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:04:35 +0000 |
commit | 1430163b4bbf7b00367ea1066c1c5fe85dbeefed (patch) | |
tree | 478348e12b86280253f91beb4b23ed90ea349b04 /linux/drm_dma.h | |
parent | 6916572c1c32cd030258ab917f0a568517d5006b (diff) |
Drop GAMMA DRM from a great height ...
Diffstat (limited to 'linux/drm_dma.h')
-rw-r--r-- | linux/drm_dma.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h index 096a5e9e..da9a90b6 100644 --- a/linux/drm_dma.h +++ b/linux/drm_dma.h @@ -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); - } /** |