topology2: cavs-rt5682: expose spk core_id for overriding

Port from nocodec topology for multi-core validation.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
This commit is contained in:
Yong Zhi 2024-02-07 10:32:11 -06:00 committed by Kai Vehmanen
parent e8fcaf6958
commit 18ab8c2468
3 changed files with 14 additions and 0 deletions

View File

@ -24,6 +24,7 @@ Object.Pipeline {
}
{
index $SPEAKER_HOST_PIPELINE_ID
core_id $SPEAKER_PCM_CORE_ID
Object.Widget.host-copier.1 {
stream_name '$SPEAKER_PLAYBACK_PCM_STREAM_NAME'
@ -34,6 +35,9 @@ Object.Pipeline {
name 'Pre Mixer $SPEAKER_PCM_NAME Playback Volume'
}
}
Object.Widget.pipeline.1 {
core $SPEAKER_PCM_CORE_ID
}
}
]
@ -77,6 +81,7 @@ Object.Pipeline {
}
{
index $SPEAKER_DAI_PIPELINE_ID
core_id $SPEAKER_PCM_CORE_ID
Object.Widget.dai-copier.1 {
dai_index $SPEAKER_SSP_DAI_INDEX
@ -111,6 +116,10 @@ Object.Pipeline {
name 'Post Mixer $SPEAKER_PCM_NAME Playback Volume'
}
}
Object.Widget.pipeline.1 {
core $SPEAKER_PCM_CORE_ID
}
}
]
}

View File

@ -94,6 +94,7 @@ Define {
HEADSET_DAI_PIPELINE_ID 2
SPEAKER_HOST_PIPELINE_ID 3
SPEAKER_DAI_PIPELINE_ID 4
SPEAKER_PCM_CORE_ID 0
INCLUDE_ECHO_REF false
ECHO_REF_HOST_PIPELINE_ID 7
ECHO_REF_DAI_PIPELINE_ID 8

View File

@ -62,6 +62,7 @@ IncludeByKey.DEEP_BUF_SPK {
Object.Pipeline.deepbuffer-playback [
{
index $DEEP_BUFFER_PIPELINE_ID_2
core_id $SPEAKER_PCM_CORE_ID
Object.Widget.host-copier.1 {
stream_name $DEEP_BUFFER_PCM_NAME_2
@ -72,6 +73,9 @@ IncludeByKey.DEEP_BUF_SPK {
name 'Pre Mixer $DEEP_BUFFER_PCM_NAME_2 Volume'
}
}
Object.Widget.pipeline.1 {
core $SPEAKER_PCM_CORE_ID
}
}
]