[Linaro-mm-sig] [PATCH v3 0/4] Add CMA heap for ION memory manager

benjamin.gaignard at stericsson.com benjamin.gaignard at stericsson.com
Wed Mar 14 15:35:11 UTC 2012


From: benjamin gaignard <benjamin.gaignard at linaro.org>

The goal of those patches is to allow ION clients (drivers or userland applications) 
to use Contiguous Memory Allocator (CMA).

To get more info about CMA: 
http://lists.linaro.org/pipermail/linaro-mm-sig/2012-February/001328.html

patches version 3:
 - add a private field in ion_heap structure instead of expose ion_device
 structure to all heaps
 - ion_cma_heap is no more a platform driver
 - ion_cma_heap use ion_heap private field to store the device pointer and
   make the link with reserved CMA regions
 - provide ux500-ion driver and configuration file for snowball board to give
   an example of how use CMA heaps

patches version 2:
 - fix comments done by Andy Green

Benjamin Gaignard (1):
  fix ion_platform_data definition
  add private field in ion_heap structure
  add CMA heap
  add test/example driver for ux500 platform

 arch/arm/mach-ux500/board-mop500.c |   80 +++++++++++++++++++
 drivers/gpu/ion/Kconfig            |    6 ++
 drivers/gpu/ion/Makefile           |    2 +
 drivers/gpu/ion/cma/Makefile       |    1 +
 drivers/gpu/ion/cma/ion_cma_heap.c |  126 ++++++++++++++++++++++++++++++
 drivers/gpu/ion/cma/ion_cma_heap.h |   11 +++
 drivers/gpu/ion/ion_priv.h         |    2 +
 drivers/gpu/ion/ux500/Makefile     |    1 +
 drivers/gpu/ion/ux500/ux500_ion.c  |  147 ++++++++++++++++++++++++++++++++++++
 include/linux/ion.h                |    2 +-
 10 files changed, 377 insertions(+), 1 deletions(-)
 create mode 100644 drivers/gpu/ion/cma/Makefile
 create mode 100644 drivers/gpu/ion/cma/ion_cma_heap.c
 create mode 100644 drivers/gpu/ion/cma/ion_cma_heap.h
 create mode 100644 drivers/gpu/ion/ux500/Makefile
 create mode 100644 drivers/gpu/ion/ux500/ux500_ion.c




More information about the Linaro-mm-sig mailing list