Unified Memory Management

CMA integration on ION

Registered by Ilias Biris on 2011-12-13

CMA integration for ION - enable UMM for the current version of Android.

Blueprint information

Status:
Started
Approver:
Jesse Barker
Priority:
High
Drafter:
Benjamin Gaignard
Direction:
Approved
Assignee:
Benjamin Gaignard
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Started
Milestone target:
milestone icon wip
Started by
Tom Gall on 2013-01-23

Related branches

Sprints

Whiteboard

[ibiris 17Feb2012]: Moving to 12.03 since this was not completed due to unexpected absence (illness)
There is no CTS test for ION.
[benjamin-gaignard] ION architecture documentation: https://wiki.linaro.org/BenjaminGaignard/ion
[benjamin-gaignard] CMA v18 patches aren't compatibles with android kernel (3.0).
[benjamin-gaignard] basic test for ION heaps: http://git.linaro.org/gitweb?p=people/bgaignard/ion_test_application.git;a=summary
[benjamin-gaignard] test application: http://git.linaro.org/gitweb?p=people/bgaignard/ion_test_application.git;a=summary
[benjamin-gaignard] ION CMA heaps patches send to linaro-mm-sig http://lists.linaro.org/pipermail/linaro-mm-sig/2012-March/001430.html
[benjamin-gaignard] ION CMA heaps patches version 3: http://lists.linaro.org/pipermail/linaro-mm-sig/2012-March/001445.html
[benjamin-gaignard] ION CMA heap patches version 4: http://lists.linaro.org/pipermail/linaro-mm-sig/2012-March/001493.html
[benjamin-gaignard] ION CMA heap patches version 5: http://lists.linaro.org/pipermail/linaro-mm-sig/2012-June/002095.html
[benjamin-gaignard] ION CMA heap patches version 6: http://lists.linaro.org/pipermail/linaro-mm-sig/2012-June/002194.html
[benjamin-gaignard] ION CMA heap patches version 7: http://lists.linaro.org/pipermail/linaro-mm-sig/2012-December/002822.html
[benjamin-gaignard] ION CMA heap patches version 8 :http://lists.linaro.org/pipermail/linaro-mm-sig/2012-December/002832.html
Meta:
[benjamin-gaignard] ION CMA heap patches version 9: http://lists.linaro.org/pipermail/linaro-mm-sig/2013-March/003115.html
[benjamin-gaignard] ION CMA heap patches version 10: http://lists.linaro.org/pipermail/linaro-mm-sig/2013-March/003121.html

Headline: integrate CMA in ION. ION is the new memory manager in Android. Integrate CMA inside ION will help to reduce the among of memory carveout of the system.
Acceptance:
- test CMA heap with video decoder
- test CMA heap with display

(?)

Work Items

Work items:
backport CMA v19 into Linaro/Android kernel: POSTPONED
port ION in kernel 3.2: DONE
create CMA heap in ION: DONE
create test setup for ION heaps: DONE
check if CTS tests exist for ION: DONE
document ION architecture: DONE
document CMA heap in ION architecture: POSTPONED
find a way to test CMA heap with hw decoder: TODO
send patches version 3 to linaro-mm-sig mailing list: DONE
rebase patches on recent upstream acceptance of CMA: DONE
add ION cache management to CMA heap: DONE

This blueprint contains Public information 
Everyone can see this information.