diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-03-28 01:55:56 -0400 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-03-28 10:36:44 -0400 |
commit | 64d70fe5d3640e1a89790ed21120921278f8cb86 (patch) | |
tree | cc4983a830d8cfe0975ba4c606b84944f925eb70 /Documentation | |
parent | 8a4134322bd429d24f71147eb59a47a981e8f63a (diff) |
common: DMA-mapping: add NON-CONSISTENT attribute
DMA_ATTR_NON_CONSISTENT lets the platform to choose to return either
consistent or non-consistent memory as it sees fit. By using this API,
you are guaranteeing to the platform that you have all the correct and
necessary sync points for this memory in the driver.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DMA-attributes.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/DMA-attributes.txt b/Documentation/DMA-attributes.txt index 811a5d458dae..5c72eed89563 100644 --- a/Documentation/DMA-attributes.txt +++ b/Documentation/DMA-attributes.txt | |||
@@ -41,3 +41,11 @@ buffered to improve performance. | |||
41 | Since it is optional for platforms to implement DMA_ATTR_WRITE_COMBINE, | 41 | Since it is optional for platforms to implement DMA_ATTR_WRITE_COMBINE, |
42 | those that do not will simply ignore the attribute and exhibit default | 42 | those that do not will simply ignore the attribute and exhibit default |
43 | behavior. | 43 | behavior. |
44 | |||
45 | DMA_ATTR_NON_CONSISTENT | ||
46 | ----------------------- | ||
47 | |||
48 | DMA_ATTR_NON_CONSISTENT lets the platform to choose to return either | ||
49 | consistent or non-consistent memory as it sees fit. By using this API, | ||
50 | you are guaranteeing to the platform that you have all the correct and | ||
51 | necessary sync points for this memory in the driver. | ||