summaryrefslogtreecommitdiff
path: root/Documentation/driver-api/dmaengine
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/driver-api/dmaengine')
-rw-r--r--Documentation/driver-api/dmaengine/provider.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/driver-api/dmaengine/provider.rst b/Documentation/driver-api/dmaengine/provider.rst
index 2897ade67b39..be47852e5a0f 100644
--- a/Documentation/driver-api/dmaengine/provider.rst
+++ b/Documentation/driver-api/dmaengine/provider.rst
@@ -557,6 +557,11 @@ dma_cookie_t
- Not really relevant any more since the introduction of ``virt-dma``
that abstracts it away.
+- dmaengine drivers need to ensure buffers are flushed before invoking
+ vchan_cookie_complete() or dma_cookie_complete(). This would imply a call
+ to unmapping buffers or any such architecture calls to ensure caller seeing
+ buffers are flushed is done before invoking these calls.
+
dma_vec
- A small structure that contains a DMA address and length.