Skip to content

Commit 662c72c

Browse files
Jyri Sarhalgirdwood
authored andcommitted
topology2: Widget defaults for stack, lifetime, interim and shared memory
Add default values for stack, lifetime heap, interim heap, and shared memory sizes for all widgets, e.g. module instances. These values were tested with vpages branch and all cases that I tried worked with them. Eventually each module should be added with more accurate values, based on measurements. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent d4e0040 commit 662c72c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tools/topology/topology2/include/components/widget-common.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,8 @@ DefineAttribute."shared_bytes_requirement" {
174174
token_ref "comp.word"
175175
}
176176

177+
# These default values are here until we have measured module specific numbers
178+
stack_bytes_requirement 8192
179+
interim_heap_bytes_requirement 4096
180+
lifetime_heap_bytes_requirement 16384
181+
shared_bytes_requirement 4096

0 commit comments

Comments
 (0)