Skip to content

Commit 8c3eb50

Browse files
author
Jyri Sarha
committed
topology2: Add static_bytes_requirement widget attributes
Add static_bytes_requirement widget attributes. This token's value indicates the amount of heap memory needed at component initialization phase. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent efbc7c4 commit 8c3eb50

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

tools/topology/topology2/include/common/tokens.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Object.Base.VendorToken {
2929
domain_id 419
3030
stack_bytes_requirement 420
3131
heap_bytes_requirement 421
32+
static_bytes_requirement 422
3233
}
3334

3435
"2" {

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,10 @@ DefineAttribute."heap_bytes_requirement" {
155155
token_ref "comp.word"
156156
}
157157

158+
## Static heap size requirement in bytes for this component. Zero indicates default heap size.
159+
## this token's value indicates the amount of heap memory needed at component init phase
160+
DefineAttribute."static_bytes_requirement" {
161+
# Token set reference name and type
162+
token_ref "comp.word"
163+
}
164+

0 commit comments

Comments
 (0)