Lines Matching refs:dispatch_status
146 DRM_DEBUG("dispatch_status = 0x%02lx\n", dev_priv->dispatch_status); in mga_dma_quiescent()
150 &dev_priv->dispatch_status)) { in mga_dma_quiescent()
159 dev_priv->dispatch_status, jiffies, end); in mga_dma_quiescent()
172 clear_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status); in mga_dma_quiescent()
179 clear_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status); in mga_dma_quiescent()
181 dev_priv->dispatch_status); in mga_dma_quiescent()
218 set_bit(MGA_IN_GETBUF, &dev_priv->dispatch_status); in mga_freelist_get()
231 clear_bit(MGA_IN_GETBUF, &dev_priv->dispatch_status); in mga_freelist_get()
422 clear_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status); in mga_fire_primary()
442 set_bit(MGA_IN_WAIT, &dev_priv->dispatch_status); in mga_advance_primary()
466 clear_bit(MGA_IN_WAIT, &dev_priv->dispatch_status); in mga_advance_primary()
499 if (test_bit(MGA_IN_GETBUF, &dev_priv->dispatch_status) && in mga_decide_to_fire()
504 if (test_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status) && in mga_decide_to_fire()
543 if(test_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status) || in mga_dma_schedule()
544 test_bit(MGA_IN_WAIT, &dev_priv->dispatch_status) || in mga_dma_schedule()
545 test_bit(MGA_IN_GETBUF, &dev_priv->dispatch_status)) { in mga_dma_schedule()
556 if(!test_and_set_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status)) { in mga_dma_schedule()
568 clear_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status); in mga_dma_schedule()
582 if(test_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status) && in mga_dma_schedule()
585 clear_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status); in mga_dma_schedule()
589 if(test_bit(MGA_IN_GETBUF, &dev_priv->dispatch_status) in mga_dma_schedule()
612 clear_bit(MGA_IN_DISPATCH, &dev_priv->dispatch_status); in mga_dma_service()
892 if (test_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status)) in mga_flush_queue()
894 set_bit(MGA_IN_FLUSH, &dev_priv->dispatch_status); in mga_flush_queue()
899 &dev_priv->dispatch_status)) in mga_flush_queue()
906 &dev_priv->dispatch_status); in mga_flush_queue()