summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/via/via_irq.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 11:34:43 +0100
committerDave Airlie <airlied@redhat.com>2013-12-18 11:34:13 +1000
commit57ed0f7b4375f4cb0ec3eccbc81f262294eefbcd (patch)
tree935ea0949b91080532de66d1d74f8a97a4c81223 /drivers/gpu/drm/via/via_irq.c
parente9f0d76f3bcd4dda7136baaaaf45bda3b13ff40f (diff)
downloadlinux-57ed0f7b4375f4cb0ec3eccbc81f262294eefbcd.tar.gz
linux-57ed0f7b4375f4cb0ec3eccbc81f262294eefbcd.tar.bz2
linux-57ed0f7b4375f4cb0ec3eccbc81f262294eefbcd.zip
drm: Kill DRM_WAKUP and DRM_INIT_WAITQUEUE
Less yelling ftw! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/via/via_irq.c')
-rw-r--r--drivers/gpu/drm/via/via_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/via/via_irq.c b/drivers/gpu/drm/via/via_irq.c
index 85a4cb955204..1319433816d3 100644
--- a/drivers/gpu/drm/via/via_irq.c
+++ b/drivers/gpu/drm/via/via_irq.c
@@ -138,7 +138,7 @@ irqreturn_t via_driver_irq_handler(int irq, void *arg)
for (i = 0; i < dev_priv->num_irqs; ++i) {
if (status & cur_irq->pending_mask) {
atomic_inc(&cur_irq->irq_received);
- DRM_WAKEUP(&cur_irq->irq_queue);
+ wake_up(&cur_irq->irq_queue);
handled = 1;
if (dev_priv->irq_map[drm_via_irq_dma0_td] == i)
via_dmablit_handler(dev, 0, 1);
@@ -287,7 +287,7 @@ void via_driver_irq_preinstall(struct drm_device *dev)
atomic_set(&cur_irq->irq_received, 0);
cur_irq->enable_mask = dev_priv->irq_masks[i][0];
cur_irq->pending_mask = dev_priv->irq_masks[i][1];
- DRM_INIT_WAITQUEUE(&cur_irq->irq_queue);
+ init_waitqueue_head(&cur_irq->irq_queue);
dev_priv->irq_enable_mask |= cur_irq->enable_mask;
dev_priv->irq_pending_mask |= cur_irq->pending_mask;
cur_irq++;