mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Documentation: dmaengine: document DMA_CTRL_ACK
Add documentation about acking the transfers, and their reusability. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
b9855f03d5
commit
5f88d9706f
1 changed files with 6 additions and 5 deletions
|
@ -345,11 +345,12 @@ where to put them)
|
||||||
that abstracts it away.
|
that abstracts it away.
|
||||||
|
|
||||||
* DMA_CTRL_ACK
|
* DMA_CTRL_ACK
|
||||||
- Undocumented feature
|
- If set, the transfer can be reused after being completed.
|
||||||
- No one really has an idea of what it's about, besides being
|
- There is a guarantee the transfer won't be freed until it is acked
|
||||||
related to reusing the DMA transaction descriptors or having
|
by async_tx_ack().
|
||||||
additional transactions added to it in the async-tx API
|
- As a consequence, if a device driver wants to skip the dma_map_sg() and
|
||||||
- Useless in the case of the slave API
|
dma_unmap_sg() in between 2 transfers, because the DMA'd data wasn't used,
|
||||||
|
it can resubmit the transfer right after its completion.
|
||||||
|
|
||||||
General Design Notes
|
General Design Notes
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue