Skip to content

Commit

Permalink
rapidio/tsi721_dma: advance queue processing from transfer submit call
Browse files Browse the repository at this point in the history
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.

Link: http://lkml.kernel.org/r/[email protected]
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]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexandre Bounine authored and torvalds committed Aug 2, 2016
1 parent e519685 commit f5485eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rapidio/devices/tsi721_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ static dma_cookie_t tsi721_tx_submit(struct dma_async_tx_descriptor *txd)
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;
Expand Down

0 comments on commit f5485eb

Please sign in to comment.