gpu: ion: Refactor the code to zero buffers
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 9 Jan 2013 19:26:37 +0000 (11:26 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:20 +0000 (14:16 -0700)
commitd5c90f9fa558245c8ab5719ae9e2bb201d53c370
tree7bb8d303cf96bca8ba03178f849a8f75dd28af0a
parentde096a7b3f3aa0efd65593dd8c0f0f6153776416
gpu: ion: Refactor the code to zero buffers

Refactor the code in the system heap used to map and zero the buffers
into a seperate utility so it can be called from other heaps.  Use it from
the chunk heap.

Change-Id: I706341ae42b80bc4aae8a8614b4f73435bbf05d9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion_chunk_heap.c
drivers/gpu/ion/ion_heap.c
drivers/gpu/ion/ion_priv.h
drivers/gpu/ion/ion_system_heap.c