mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user