diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-12-23 03:30:47 -0500 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-03-28 10:36:43 -0400 |
commit | 8a4134322bd429d24f71147eb59a47a981e8f63a (patch) | |
tree | bce9920c5f163669666693cd9d307bd865ad2bb1 /include/linux/dma-attrs.h | |
parent | 9adc537452e1e341cabd39a02d4788d3c510b0e2 (diff) |
common: DMA-mapping: add WRITE_COMBINE attribute
DMA_ATTR_WRITE_COMBINE specifies that writes to the mapping may be
buffered to improve performance. It will be used by the replacement for
ARM/ARV32 specific dma_alloc_writecombine() function.
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 'include/linux/dma-attrs.h')
-rw-r--r-- | include/linux/dma-attrs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h index 71ad34eca6e3..ada61e1abf29 100644 --- a/include/linux/dma-attrs.h +++ b/include/linux/dma-attrs.h | |||
@@ -13,6 +13,7 @@ | |||
13 | enum dma_attr { | 13 | enum dma_attr { |
14 | DMA_ATTR_WRITE_BARRIER, | 14 | DMA_ATTR_WRITE_BARRIER, |
15 | DMA_ATTR_WEAK_ORDERING, | 15 | DMA_ATTR_WEAK_ORDERING, |
16 | DMA_ATTR_WRITE_COMBINE, | ||
16 | DMA_ATTR_MAX, | 17 | DMA_ATTR_MAX, |
17 | }; | 18 | }; |
18 | 19 | ||