gpu: ion: Modify reserve function for carveouts with no start address
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:23 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:40 +0000 (08:55 -0800)
commitfa9bba557dd3cd3d9188541cf309f5c71486d8a6
tree578e9254870a5a461769fc535cadf68ca7587ab0
parent092c354b8a2e590b028957e68ad38c69b21cadd8
gpu: ion: Modify reserve function for carveouts with no start address

This patch allows you to specify a heap that requires carveout memory
but that doesn't specify a start address.  Memblock_alloc will be called
to find a location for these heaps.

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.c