gpu: ion: Refactor common mapping functions out of system heap
authorRebecca Schultz Zavin <rebecca@android.com>
Thu, 15 Nov 2012 18:43:46 +0000 (10:43 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:16 +0000 (14:16 -0700)
commitba660956c1f585a590c4de32d5a969e7762ce51c
treeb3e557949320b82e65de75b8b0beee6a734cf485
parent98bdf10447930d3edbf6ed0f8678368fca9c8034
gpu: ion: Refactor common mapping functions out of system heap

The system heap contained several general purpose functions to map
buffers to the kernel and userspace.  This patch refactors those
into ion_heap.c so they can be used by other heaps.

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