diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-30 11:34:51 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-30 11:34:51 +0000 |
commit | da6b44849763fac5ccb7d7511128454c6c2a92c7 (patch) | |
tree | eeacf7b240241350c040dc4751f4a4c3d9d52502 /linux/drm_dma.h | |
parent | 7809efc8c32520e6b25c143ee3276edbf534ed14 (diff) |
implement drm_core_check_feature and use it .. looks lots nicer
Diffstat (limited to 'linux/drm_dma.h')
-rw-r--r-- | linux/drm_dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h index da9a90b6..05a5936a 100644 --- a/linux/drm_dma.h +++ b/linux/drm_dma.h @@ -144,7 +144,7 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf) buf->filp = NULL; buf->used = 0; - if ( (dev->driver_features & DRIVER_DMA_QUEUE) && waitqueue_active(&buf->dma_wait)) { + if ( drm_core_check_feature(dev, DRIVER_DMA_QUEUE) && waitqueue_active(&buf->dma_wait)) { wake_up_interruptible(&buf->dma_wait); } } |