staging: ion: uapi: add ION_FLAG_DMA32 flag

Add a new flag for system heap to allocat pages in normal zone.

Change-Id: I851b7fa412c181a6c3222aeadffddc84aba74c1e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu
2021-04-25 09:50:09 +08:00
committed by Tao Huang
parent beabbf3531
commit 781ccbba7a

View File

@@ -48,6 +48,12 @@ enum ion_heap_type {
*/
#define ION_FLAG_CACHED 1
/*
* mappings of this buffer should be limit to 32bits, ion will add GFP_DMA32
* when the buffer allocates pages from system
*/
#define ION_FLAG_DMA32 4
/**
* DOC: Ion Userspace API
*