Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448039

[PATCH 07/13] rapidio/tsi721_dma: advance queue processing from transfer submit call

From Alexandre Bounine <alexandre.bounine@idt.com>
Newsgroups linux.kernel
Subject [PATCH 07/13] rapidio/tsi721_dma: advance queue processing from transfer submit call
Date 2016-07-21 20:20 +0200
Message-ID <rXqJI-2G4-9@gated-at.bofh.it> (permalink)
References <rXqJI-2G4-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Cc: Barry Wood <barry.wood@idt.com>
Cc: linux-kernel@vger.kernel.org
---
 drivers/rapidio/devices/tsi721_dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/rapidio/devices/tsi721_dma.c b/drivers/rapidio/devices/tsi721_dma.c
index 13c669b..e2a4185 100644
--- a/drivers/rapidio/devices/tsi721_dma.c
+++ b/drivers/rapidio/devices/tsi721_dma.c
@@ -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;
-- 
1.7.8.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 07/13] rapidio/tsi721_dma: advance queue processing from transfer submit call Alexandre Bounine <alexandre.bounine@idt.com> - 2016-07-21 20:20 +0200

csiph-web