]> git.karo-electronics.de Git - linux-beck.git/commit
gpu: ion: Refactor the code to zero buffers
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:32 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:41 +0000 (08:55 -0800)
commit0b6b2cde0928707a618ce8c07970219f21d066e5
tree3e5a30a51da5f59b5308bace190b56b2fbc5caca
parent77cbe828a10026f8ff208eaa67d75675a3ffbdfc
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.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_heap.c
drivers/staging/android/ion/ion_priv.h
drivers/staging/android/ion/ion_system_heap.c