Commit e8b03f20 authored by Dave Airlie's avatar Dave Airlie

drm: remove unused dma support remnants.

These are unused since the gamma driver was dropped, they 
cause problems with the via driver (coming soon).
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent e5689329
...@@ -458,13 +458,6 @@ typedef struct drm_device_dma { ...@@ -458,13 +458,6 @@ typedef struct drm_device_dma {
_DRM_DMA_USE_SG = 0x02 _DRM_DMA_USE_SG = 0x02
} flags; } flags;
/** \name DMA support */
/*@{*/
drm_buf_t *this_buffer; /**< Buffer being sent */
drm_buf_t *next_buffer; /**< Selected buffer to send */
drm_queue_t *next_queue; /**< Queue from which buffer selected*/
wait_queue_head_t waiting; /**< Processes waiting on free bufs */
/*@}*/
} drm_device_dma_t; } drm_device_dma_t;
/** /**
......
...@@ -117,10 +117,6 @@ int DRM(irq_install)( drm_device_t *dev ) ...@@ -117,10 +117,6 @@ int DRM(irq_install)( drm_device_t *dev )
DRM_DEBUG( "%s: irq=%d\n", __FUNCTION__, dev->irq ); DRM_DEBUG( "%s: irq=%d\n", __FUNCTION__, dev->irq );
dev->dma->next_buffer = NULL;
dev->dma->next_queue = NULL;
dev->dma->this_buffer = NULL;
if (drm_core_check_feature(dev, DRIVER_IRQ_VBL)) { if (drm_core_check_feature(dev, DRIVER_IRQ_VBL)) {
init_waitqueue_head(&dev->vbl_queue); init_waitqueue_head(&dev->vbl_queue);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment