From 7533724d29d13cde4f8b839ec066c5941a6674c8 Mon Sep 17 00:00:00 2001 From: Rebecca Schultz Zavin Date: Wed, 13 Feb 2013 14:48:11 -0800 Subject: 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 --- include/linux/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/ion.h') 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 -- cgit v1.2.3-70-g09d2