mirror of https://github.com/thesofproject/sof.git
platform: mtk: fix memory allocation problem
Because the size of struct comp_buffer has increased, the current heap layout for the basic use case is not enough. Some use cases are experiencing out of memory issues, c0 memory src/lib/alloc.c:765 ERROR failed to alloc 0x180 bytes zone 0x4 caps 0x1 flags 0x0 To fix this issue, we increase the number of 512-byte heap blocks to 32. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
This commit is contained in:
parent
4624b3d7bd
commit
4b0cb077f7
|
@ -115,7 +115,7 @@
|
|||
#define HEAP_RT_COUNT64 32
|
||||
#define HEAP_RT_COUNT128 32
|
||||
#define HEAP_RT_COUNT256 32
|
||||
#define HEAP_RT_COUNT512 4
|
||||
#define HEAP_RT_COUNT512 32
|
||||
#define HEAP_RT_COUNT1024 4
|
||||
#define HEAP_RT_COUNT2048 2
|
||||
#define HEAP_RT_COUNT4096 2
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
#define HEAP_RT_COUNT64 32
|
||||
#define HEAP_RT_COUNT128 32
|
||||
#define HEAP_RT_COUNT256 32
|
||||
#define HEAP_RT_COUNT512 4
|
||||
#define HEAP_RT_COUNT512 32
|
||||
#define HEAP_RT_COUNT1024 4
|
||||
#define HEAP_RT_COUNT2048 2
|
||||
#define HEAP_RT_COUNT4096 2
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
#define HEAP_RT_COUNT64 32
|
||||
#define HEAP_RT_COUNT128 32
|
||||
#define HEAP_RT_COUNT256 32
|
||||
#define HEAP_RT_COUNT512 4
|
||||
#define HEAP_RT_COUNT512 32
|
||||
#define HEAP_RT_COUNT1024 4
|
||||
#define HEAP_RT_COUNT2048 2
|
||||
#define HEAP_RT_COUNT4096 2
|
||||
|
|
Loading…
Reference in New Issue