gpu: ion: Stop trying to allocate from an order on first failure
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 26 Sep 2012 03:55:27 +0000 (20:55 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:08 +0000 (14:16 -0700)
commit49cfb6da44fd228851d0d6410f8b2cf56a4be9bd
treed4391d00380a21abfa5db29e0b66c0ba5c144364
parentd8c1252e23beb4bec877828eeb8dc351fe09737b
gpu: ion: Stop trying to allocate from an order on first failure

With this patch the system heap will only try to allocate from each
order as long as allocations succeed.  If it failes to obtain a higher
order allocation, it doesn't retry that order.

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