tigerlake: increase system runtime heap size

Update memory.h to have similar capabilities to other platforms,
that were updated when dynamic DMA channels were introduced.
Previous values were not enough for some topologies.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-10-16 14:37:46 +02:00 committed by Tomasz Lauda
parent 0d54df1dbc
commit 6154b59e3b
1 changed files with 4 additions and 7 deletions

View File

@ -237,7 +237,7 @@
#define SOF_TEXT_BASE (SOF_FW_START)
/* Heap section sizes for system runtime heap for master core */
#define HEAP_SYS_RT_0_COUNT64 64
#define HEAP_SYS_RT_0_COUNT64 128
#define HEAP_SYS_RT_0_COUNT512 16
#define HEAP_SYS_RT_0_COUNT1024 4
@ -264,7 +264,7 @@
#define HEAP_BUFFER_COUNT (HEAP_BUFFER_SIZE / HEAP_BUFFER_BLOCK_SIZE)
#define HEAP_SYSTEM_M_SIZE 0x8000 /* heap master core size */
#define HEAP_SYSTEM_S_SIZE 0x5000 /* heap slave core size */
#define HEAP_SYSTEM_S_SIZE 0x6000 /* heap slave core size */
#define HEAP_SYSTEM_T_SIZE \
(HEAP_SYSTEM_M_SIZE + ((PLATFORM_CORE_COUNT - 1) * HEAP_SYSTEM_S_SIZE))
@ -339,11 +339,8 @@
HEAP_RT_LP_COUNT128 * 128 + HEAP_RT_LP_COUNT256 * 256 + \
HEAP_RT_LP_COUNT512 * 512 + HEAP_RT_LP_COUNT1024 * 1024)
#define HEAP_LP_BUFFER_BASE \
(HEAP_LP_RUNTIME_BASE + HEAP_LP_RUNTIME_SIZE)
#define HEAP_LP_BUFFER_SIZE \
(LP_SRAM_SIZE - HEAP_LP_RUNTIME_SIZE - SOF_LP_STACK_SIZE - \
HEAP_LP_SYSTEM_SIZE)
#define HEAP_LP_BUFFER_BASE LP_SRAM_BASE
#define HEAP_LP_BUFFER_SIZE LP_SRAM_SIZE
#define HEAP_LP_BUFFER_BLOCK_SIZE 0x180