summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-01 18:24:23 +1000
committerDave Airlie <airlied@linux.ie>2007-04-01 18:24:23 +1000
commitb1f0b2d960a8f488332652677073ab95ce72cd3f (patch)
treec0d7387aee2964fe69587c8fe0eda25a68b13683 /shared-core
parentbe5bf1346e49d5c2e0080913fd55e6898a8744cf (diff)
radeon: de-static irq function, fixup fence/buffer
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_drv.h1
-rw-r--r--shared-core/radeon_irq.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h
index 9f6cff89..6d2bcc8f 100644
--- a/shared-core/radeon_drv.h
+++ b/shared-core/radeon_drv.h
@@ -355,6 +355,7 @@ extern void radeon_mem_release(DRMFILE filp, struct mem_block *heap);
/* radeon_irq.c */
extern int radeon_irq_emit(DRM_IOCTL_ARGS);
extern int radeon_irq_wait(DRM_IOCTL_ARGS);
+extern int radeon_emit_irq(drm_device_t * dev);
extern void radeon_do_release(drm_device_t * dev);
extern int radeon_driver_vblank_wait(drm_device_t * dev,
diff --git a/shared-core/radeon_irq.c b/shared-core/radeon_irq.c
index 8678f5d1..4f3099dc 100644
--- a/shared-core/radeon_irq.c
+++ b/shared-core/radeon_irq.c
@@ -95,7 +95,7 @@ irqreturn_t radeon_driver_irq_handler(DRM_IRQ_ARGS)
return IRQ_HANDLED;
}
-static int radeon_emit_irq(drm_device_t * dev)
+int radeon_emit_irq(drm_device_t * dev)
{
drm_radeon_private_t *dev_priv = dev->dev_private;
unsigned int ret;