Commit 13723b10 authored by Dave Airlie's avatar Dave Airlie

left gamma_dma.c out of last changeset

parent 44cabf9b
...@@ -116,7 +116,7 @@ static inline int gamma_dma_is_ready(drm_device_t *dev) ...@@ -116,7 +116,7 @@ static inline int gamma_dma_is_ready(drm_device_t *dev)
return (!GAMMA_READ(GAMMA_DMACOUNT)); return (!GAMMA_READ(GAMMA_DMACOUNT));
} }
irqreturn_t gamma_dma_service( DRM_IRQ_ARGS ) irqreturn_t gamma_irq_handler( DRM_IRQ_ARGS )
{ {
drm_device_t *dev = (drm_device_t *)arg; drm_device_t *dev = (drm_device_t *)arg;
drm_device_dma_t *dma = dev->dma; drm_device_dma_t *dma = dev->dma;
...@@ -262,7 +262,7 @@ static void gamma_dma_timer_bh(unsigned long dev) ...@@ -262,7 +262,7 @@ static void gamma_dma_timer_bh(unsigned long dev)
gamma_dma_schedule((drm_device_t *)dev, 0); gamma_dma_schedule((drm_device_t *)dev, 0);
} }
void gamma_dma_immediate_bh(void *dev) void gamma_irq_immediate_bh(void *dev)
{ {
gamma_dma_schedule(dev, 0); gamma_dma_schedule(dev, 0);
} }
...@@ -656,7 +656,7 @@ int gamma_do_cleanup_dma( drm_device_t *dev ) ...@@ -656,7 +656,7 @@ int gamma_do_cleanup_dma( drm_device_t *dev )
{ {
DRM_DEBUG( "%s\n", __FUNCTION__ ); DRM_DEBUG( "%s\n", __FUNCTION__ );
#if _HAVE_DMA_IRQ #if __HAVE_IRQ
/* Make sure interrupts are disabled here because the uninstall ioctl /* Make sure interrupts are disabled here because the uninstall ioctl
* may not have been called from userspace and after dev_private * may not have been called from userspace and after dev_private
* is freed, it's too late. * is freed, it's too late.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment