Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tools/topology/topology2/cavs-src-mixin-mixout-hda.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Define {
DEEP_BUFFER_PIPELINE_SRC 'mixin.15.1'
DEEP_BUFFER_PIPELINE_SINK 'mixout.2.1'
DEEP_BUFFER_PCM_NAME 'Deepbuffer HDA Analog'
SRC_CORE 0
SRC_DOMAIN "default"
}
Comment on lines 9 to 12

# include deep buffer config if buffer size is in 1 - 1000 ms.
Expand All @@ -31,6 +33,7 @@ Object.Pipeline {
mixout-gain-dai-copier-playback [
{
index 2
core_id $SRC_CORE

Object.Widget.dai-copier.1 {
node_type $HDA_LINK_OUTPUT_CLASS
Expand All @@ -43,26 +46,34 @@ Object.Pipeline {
name '2 Main Playback Volume'
}
}
Object.Widget.pipeline.1 {
core $SRC_CORE
}
}
]

host-copier-gain-src-mixin-playback [
{
index 1
core_id $SRC_CORE

Object.Widget.host-copier.1 {
stream_name $ANALOG_PLAYBACK_PCM
pcm_id 0
}

Object.Widget.src.1 {
scheduler_domain "$SRC_DOMAIN"
}

Object.Widget.gain.1 {
Object.Control.mixer.1 {
name '1 2nd Playback Volume'
}
}
Object.Widget.pipeline.1 {
core $SRC_CORE
}
}
]

Expand Down
4 changes: 4 additions & 0 deletions tools/topology/topology2/development/tplg-targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ GOOGLE_RTC_AEC_SUPPORT=1,DEEP_BUF_SPK=true,GOOGLE_AEC_DP_CORE_ID=2"
# CAVS HDA topology with gain and SRC before mixin for HDA and passthrough pipelines for HDMI
"sof-hda-generic\;sof-hda-src-generic\;HDA_CONFIG=src"

# Like above but with SRC in DP mode on core 2
"sof-hda-generic\;sof-hda-src-generic-dp\;HDA_CONFIG=src,DEEP_BUFFER_CORE=2,SRC_CORE=2,\
SRC_DOMAIN=DP"

# BT offload for tgl
"cavs-nocodec-bt\;sof-nocodec-bt-tgl\;PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nocodec-bt-tgl.bin,\
PLATFORM=tgl"
Expand Down
7 changes: 7 additions & 0 deletions tools/topology/topology2/platform/intel/deep-buffer.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
Define {
DEEP_BUFFER_CORE 0
}
Comment on lines +1 to +3

Object.Pipeline.deepbuffer-playback [
{
index $DEEP_BUFFER_PIPELINE_ID
core_id $DEEP_BUFFER_CORE

Object.Widget.host-copier.1 {
stream_name $DEEP_BUFFER_PCM_NAME
Expand Down Expand Up @@ -104,6 +108,9 @@ Object.Pipeline.deepbuffer-playback [
}
]
}
Object.Widget.pipeline.1 {
core $DEEP_BUFFER_CORE
}
}
]

Expand Down
Loading