diff options
| author | Rebecca Schultz Zavin <rebecca@android.com> | 2013-02-13 14:48:11 -0800 |
|---|---|---|
| committer | Arve Hjønnevåg <arve@android.com> | 2013-07-01 14:16:22 -0700 |
| commit | 7533724d29d13cde4f8b839ec066c5941a6674c8 (patch) | |
| tree | f4e4fd4ab3a1bf0b014ff10e83f3d3d803f2d7c0 /include/linux/ion.h | |
| parent | 0c5363f6a0a89952b0d0072ff4e4c3bd042add9a (diff) | |
| download | olio-linux-3.10-7533724d29d13cde4f8b839ec066c5941a6674c8.tar.xz olio-linux-3.10-7533724d29d13cde4f8b839ec066c5941a6674c8.zip | |
gpu: ion: Make ion_free asynchronous
Add the ability for a heap to free buffers asynchrounously. Freed buffers
are placed on a free list and freed from a low priority background thread.
If allocations from a particular heap fail, the free list is drained. This
patch also enable asynchronous frees from the chunk heap.
Change-Id: Idfdbc8608b6cbd9e27d2e31ea4fd84fea9f69f7d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'include/linux/ion.h')
| -rw-r--r-- | include/linux/ion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ion.h b/include/linux/ion.h index e2503e9e469..8414a6d9c39 100644 --- a/include/linux/ion.h +++ b/include/linux/ion.h @@ -48,7 +48,7 @@ enum ion_heap_type { #define ION_NUM_HEAP_IDS sizeof(unsigned int) * 8 /** - * heap flags - the lower 16 bits are used by core ion, the upper 16 + * allocation flags - the lower 16 bits are used by core ion, the upper 16 * bits are reserved for use by the heaps themselves. */ #define ION_FLAG_CACHED 1 /* mappings of this buffer should be |