rapidio/tsi721_dma: advance queue processing from transfer submit call
PATCH 95/111 rapidio/tsi721_dma: advance queue processing from transfer submit call
From: Alexandre Bounine <[email protected]>
Subject: rapidio/tsi721_dma: advance queue processing from transfer submit call
Add advancing transfer queue immediately from transfer submit call. DMA performance improvement: This will start transfer without waiting for 'issue_pending' command if there is no DMA transfer in progress.
Signed-off-by Alexandre Bounine <[email protected]>
Cc Matt Porter <[email protected]>
Cc Andre van Herk <[email protected]>
Cc Barry Wood <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/rapidio/devices/tsi721_dma.c | 1 + 1 file changed, 1 insertion(+)
drivers/rapidio/devices/tsi721_dma.c renamed from drivers/rapidio/devices/tsi721_dma.c~rapidio-tsi721_dma-advance-queue-processing-from-transfer-submit-call +1 -0
@@ -726,6 +726,7 @@ static dma_cookie_t tsi721_tx_submit(str cookie =dma_cookie_assign (txd); desc->status =DMA_IN_PROGRESS ;list_add_tail (&desc->desc_node, &bdma_chan->queue); +tsi721_advance_work (bdma_chan,NULL );spin_unlock_bh (&bdma_chan->lock);return cookie;
_