]> git.baikalelectronics.ru Git - kernel.git/commit
common: DMA-mapping: add NON-CONSISTENT attribute
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 05:55:56 +0000 (07:55 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 14:36:44 +0000 (16:36 +0200)
commitdd67e8f636ce68565a48db5c963a441b828d2979
treecc4983a830d8cfe0975ba4c606b84944f925eb70
parent2a72e8af64f47fa93d2dcc139c01819fa46b7d61
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