diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2020-01-03 14:20:21 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-15 19:40:51 +0530 |
commit | 4d3df16840a2bba5a345326426380e1381d976d2 (patch) | |
tree | c0c04513c5b83cc0abdd07cfa64f54519f370916 /Documentation/PCI | |
parent | c2dbcaa8c672d7ecc96c7a62fd6a34c9d3821bdb (diff) | |
download | linux-stable-4d3df16840a2bba5a345326426380e1381d976d2.tar.gz linux-stable-4d3df16840a2bba5a345326426380e1381d976d2.tar.bz2 linux-stable-4d3df16840a2bba5a345326426380e1381d976d2.zip |
dmaengine: plx-dma: Implement descriptor submission
On prep, a spin lock is taken and the next entry in the circular buffer
is filled. On submit, the valid bit is set in the hardware descriptor
and the lock is released.
The DMA engine is started (if it's not already running) when the client
calls dma_async_issue_pending().
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20200103212021.2881-4-logang@deltatee.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions