Skip to content

Commit 1547199

Browse files
author
Jyri Sarha
committed
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 ee95dc8 commit 1547199

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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)