gpu: ion: Add chunk heap
authorRebecca Schultz Zavin <rebecca@android.com>
Thu, 15 Nov 2012 18:52:45 +0000 (10:52 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:16 +0000 (14:16 -0700)
commit239ab4c6ff767a104d7fa0b0bfb6599091d62944
tree4b3db8611784972d7c56807c7c7eee6251653db1
parentba660956c1f585a590c4de32d5a969e7762ce51c
gpu: ion: Add chunk heap

This patch adds support for a chunk heap that allows for buffers that are
made up of a list of fixed size chunks taken from a carveout.  Chunk sizes
are configured when the heaps are created by passing the chunk size in the
priv field of the heap platform data.

Change-Id: Ia9e003f727b553a92804264debe119dcf78b14e0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/Makefile
drivers/gpu/ion/ion_chunk_heap.c [new file with mode: 0644]
drivers/gpu/ion/ion_heap.c
drivers/gpu/ion/ion_priv.h
include/linux/ion.h