aboutsummaryrefslogtreecommitdiff
path: root/shared/mga_irq.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2002-11-30 14:24:07 +0000
committerMichel Daenzer <michel@daenzer.net>2002-11-30 14:24:07 +0000
commit40891ac190fb74f389ea1a9758249a2f642fd99b (patch)
tree00acdea17e37ac7578a68bba12b739d1366f6637 /shared/mga_irq.c
parentc869f4a1e59c4fa0bed5681cad5ad49e685603eb (diff)
vertical blank ioctl can send signal instead of blocking
Diffstat (limited to 'shared/mga_irq.c')
-rw-r--r--shared/mga_irq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/mga_irq.c b/shared/mga_irq.c
index 568d193f..30ee7834 100644
--- a/shared/mga_irq.c
+++ b/shared/mga_irq.c
@@ -50,6 +50,10 @@ void mga_dma_service( DRM_IRQ_ARGS )
MGA_WRITE( MGA_ICLEAR, MGA_VLINEICLR );
atomic_inc(&dev->vbl_received);
DRM_WAKEUP(&dev->vbl_queue);
+
+ /* kick off bottom half for signals */
+ queue_task(&dev->vbl_tq, &tq_immediate);
+ mark_bh(IMMEDIATE_BH);
}
}