Skip to content

Commit 7a02223

Browse files
heap: Increase virtual heap from 1MB to 1.5MB
TEST Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
1 parent 7a556ad commit 7a02223

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ config SOF_ZEPHYR_VIRTUAL_HEAP_SIZE
8383
config SOF_ZEPHYR_VIRTUAL_HEAP_REGION_SIZE
8484
hex "Size in bytes of virtual memory region for virtual heap shared for all cores"
8585
depends on MM_DRV_INTEL_ADSP_MTL_TLB
86-
default 0x100000
86+
default 0x180000
8787
help
8888
This config defines size of virtual heap region shared between all cores
8989

zephyr/lib/alloc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ static const struct vmh_heap_config static_hp_buffers = {
346346
{ 2048, 8},
347347
{ 4096, 11},
348348
{ 8192, 10},
349-
{ 65536, 3},
349+
{ 32768, 8},
350+
{ 65536, 7},
350351
{ 131072, 1},
351352
{ 524288, 1} /* buffer for kpb */
352353
},

0 commit comments

Comments
 (0)