summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2015-07-06 16:22:29 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:13:17 -0700
commit0244adb5c7c77293e29614f42e0c2e27e7297b49 (patch)
treef11c29683fb4135c69a9513309317f5bd857d520 /include/linux
parentd957981cb4737ec1259763c72e1ea8b86d573347 (diff)
common: DMA-mapping: add NO_DELAYED_UNMAP attribute
DMA_ATTR_NO_DELAYED_UNMAP specifies to the msm lazy mapping driver that this buffer should be immediately unmapped once it is freed. Change-Id: I43e6a6058705502cf91bf5f0c530c3099cba06ae Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma-attrs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h
index eb1b9d727f39..ee61109a0b5f 100644
--- a/include/linux/dma-attrs.h
+++ b/include/linux/dma-attrs.h
@@ -20,6 +20,7 @@ enum dma_attr {
DMA_ATTR_FORCE_CONTIGUOUS,
DMA_ATTR_STRONGLY_ORDERED,
DMA_ATTR_SKIP_ZEROING,
+ DMA_ATTR_NO_DELAYED_UNMAP,
DMA_ATTR_MAX,
};