Skip to content

Commit 8edfc16

Browse files
author
Jyri Sarha
committed
topology2: domain_id stack- and heap_bytes_requirements widget attributes
Define domain_id, stack_bytes_requirement and heap_bytes_requirement widget attributes. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 0a3144d commit 8edfc16

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Object.Base.VendorToken {
2626
num_output_audio_formats 416
2727
no_wname_in_kcontrol_name 417
2828
scheduler_domain 418
29+
domain_id 419
30+
stack_bytes_requirement 420
31+
heap_bytes_requirement 421
2932
}
3033

3134
"2" {

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,22 @@ DefineAttribute."scheduler_domain" {
136136
]
137137
}
138138
}
139+
140+
## Userspace domain id
141+
DefineAttribute."domain_id" {
142+
# Token set reference name and type
143+
token_ref "comp.word"
144+
}
145+
146+
## Stack size requirement in bytes for this component. Zero indicates default stack size.
147+
DefineAttribute."stack_bytes_requirement" {
148+
# Token set reference name and type
149+
token_ref "comp.word"
150+
}
151+
152+
## Heap size requirement in bytes for this component. Zero indicates default heap size.
153+
DefineAttribute."heap_bytes_requirement" {
154+
# Token set reference name and type
155+
token_ref "comp.word"
156+
}
157+

0 commit comments

Comments
 (0)