summaryrefslogtreecommitdiff
path: root/shared/mga_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/mga_irq.c')
-rw-r--r--shared/mga_irq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/mga_irq.c b/shared/mga_irq.c
index a2a4db53..c53a4bc2 100644
--- a/shared/mga_irq.c
+++ b/shared/mga_irq.c
@@ -36,7 +36,7 @@
#include "mga_drm.h"
#include "mga_drv.h"
-void mga_dma_service( DRM_IRQ_ARGS )
+DRM_IRQ_RET mga_dma_service( DRM_IRQ_ARGS )
{
drm_device_t *dev = (drm_device_t *) arg;
drm_mga_private_t *dev_priv =
@@ -51,7 +51,9 @@ void mga_dma_service( DRM_IRQ_ARGS )
atomic_inc(&dev->vbl_received);
DRM_WAKEUP(&dev->vbl_queue);
DRM(vbl_send_signals)( dev );
+ return DRM_IRQ_HANDLED;
}
+ return DRM_IRQ_NONE;
}
int mga_vblank_wait(drm_device_t *dev, unsigned int *sequence)