[Sound-open-firmware] [PATCH] alloc: Add support for allocating different types of memory from the heap
Liam Girdwood
liam.r.girdwood at linux.intel.com
Mon Sep 4 15:33:00 CEST 2017
On Fri, 2017-09-01 at 16:41 +0800, Keyon Jie wrote:
> To add support for different types of heap memory, here it will:
>
> 1. add handle for RFLAGS_DMA which will allocate DMA buffer blocks
> if exist;
> 2. refine free_block, which will free blocks of runtime heap,
> general buffer heap, or dma buffer heap.
>
> Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
> Tested-by: Zhang Keqiao <keqiao.zhang at intel.com>
> ---
> src/lib/alloc.c | 82 +++++++++++++++++++++++++++++++++++++++------------------
> 1 file changed, 56 insertions(+), 26 deletions(-)
>
Applied
More information about the Sound-open-firmware
mailing list