summaryrefslogtreecommitdiff
path: root/drivers/gpu/ion/ion_heap.c
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2012-11-15 10:36:10 -0800
committerArve Hjønnevåg <arve@android.com>2013-07-01 14:16:16 -0700
commit98bdf10447930d3edbf6ed0f8678368fca9c8034 (patch)
tree98c89605d403ae06c5d28b9515a3ad97c2ec725b /drivers/gpu/ion/ion_heap.c
parent29ec2f78e83e60d2e3b19bac90bc6ba3e304b544 (diff)
downloadolio-linux-3.10-98bdf10447930d3edbf6ed0f8678368fca9c8034.tar.xz
olio-linux-3.10-98bdf10447930d3edbf6ed0f8678368fca9c8034.zip
gpu: ion: Switch heap rbtree to a prio list
Switches the rbtree tree of heaps for a plist. This significantly simplifies the code and the list is small and is modified only at first boot so the rbtree is unnecessary. This also switches the traversal of the heap list to traverse from highest to lowest id's. This allows allocations to pass a heap mask that falls back on the system heap -- typically id 0, which is the common case. Change-Id: I715be6f4cf020a84ca4f1947c30ee3d2559fb523 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/gpu/ion/ion_heap.c')
0 files changed, 0 insertions, 0 deletions