diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-10-25 18:54:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-19 22:50:55 -0400 |
commit | a344a7e7c27776950a70ce4b829a9ac15a212e65 (patch) | |
tree | cec3273f7d64c1aff3505c500a17a2a92fd8199d /drivers/gpu/drm/drm_dma.c | |
parent | 4c373790a4d4d667d1ab38b1fe2bbf6a8322e93b (diff) |
drm: kill dma queue support
Absolutely unused. All the values are only ever initialized and
then used at most in some debug printout functions.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_dma.c')
-rw-r--r-- | drivers/gpu/drm/drm_dma.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_dma.c b/drivers/gpu/drm/drm_dma.c index cfb4e333ec0f..08f5e5309b22 100644 --- a/drivers/gpu/drm/drm_dma.c +++ b/drivers/gpu/drm/drm_dma.c | |||
@@ -120,11 +120,6 @@ void drm_free_buffer(struct drm_device *dev, struct drm_buf * buf) | |||
120 | buf->pending = 0; | 120 | buf->pending = 0; |
121 | buf->file_priv = NULL; | 121 | buf->file_priv = NULL; |
122 | buf->used = 0; | 122 | buf->used = 0; |
123 | |||
124 | if (drm_core_check_feature(dev, DRIVER_DMA_QUEUE) | ||
125 | && waitqueue_active(&buf->dma_wait)) { | ||
126 | wake_up_interruptible(&buf->dma_wait); | ||
127 | } | ||
128 | } | 123 | } |
129 | 124 | ||
130 | /** | 125 | /** |