]> git.hungrycats.org Git - linux/commitdiff
drm: remove unused dma support remnants.
authorDave Airlie <airlied@starflyer.(none)>
Sun, 10 Oct 2004 04:57:24 +0000 (14:57 +1000)
committerDave Airlie <airlied@starflyer.(none)>
Sun, 10 Oct 2004 04:57:24 +0000 (14:57 +1000)
These are unused since the gamma driver was dropped, they
cause problems with the via driver (coming soon).

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_irq.h

index 67e7ebade487c74f1b6b23a705b26eb1196e4b7c..65351d5188fe001126b316981fe4e64999d48e72 100644 (file)
@@ -458,13 +458,6 @@ typedef struct drm_device_dma {
                _DRM_DMA_USE_SG  = 0x02
        } 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;
 
 /** 
index f418be9f20363d73f5defab58593b9cea2d6af59..d26c999fef0895e415ba940ac4c438fdd04c6871 100644 (file)
@@ -117,10 +117,6 @@ int DRM(irq_install)( drm_device_t *dev )
 
        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)) {
                init_waitqueue_head(&dev->vbl_queue);