common: DMA-mapping: add NON-CONSISTENT attribute
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 05:55:56 +0000 (07:55 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 13:08:26 +0000 (18:08 +0530)
commitafa4eebebd05c718c9933632f4eaf055bdd07324
tree1b0c5bd12c4f2f9b8f15e7a29869558dd138bc06
parent7ada770164e553d53061defaa59ad2ba0494fd58
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>
Documentation/DMA-attributes.txt
include/linux/dma-attrs.h