Skip to content

Commit 367580f

Browse files
lgirdwoodkv2019i
authored andcommitted
Revert "topology2: cavs: Add chained DMA support for HDMI pipelines"
This reverts commit aed76b5.
1 parent 1bfe896 commit 367580f

File tree

8 files changed

+10
-244
lines changed

8 files changed

+10
-244
lines changed

tools/topology/topology2/cavs/CMakeLists.txt

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,26 @@
33
# Array of "input-file-name;output-file-name;comma separated pre-processor variables"
44
set(TPLGS
55
# CAVS HDMI only topology with passthrough pipelines
6-
"cavs-passthrough-hdmi\;cavs-passthrough-hdmi\;HDMI_CONFIG=chaindma"
6+
"cavs-passthrough-hdmi\;cavs-passthrough-hdmi"
77
# CAVS HDA topology with mixer-based pipelines for HDA and passthrough pipelines for HDMI
8-
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda\;HDA_CONFIG=mix,HDMI_CONFIG=chaindma"
8+
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda\;HDA_CONFIG=mix"
99
# If the alsatplg plugins for NHLT are not available, the NHLT blobs will not be added to the
1010
# topologies below.
1111
# CNL: CAVS HDA topology with mixer-based pipelines for HDA and passthrough pipelines for HDMI
1212
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-2ch-cnl\;\
13-
HDA_CONFIG=mix,NUM_DMICS=2,PLATFORM=cnl,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin,\
14-
HDMI_CONFIG=chaindma"
13+
HDA_CONFIG=mix,NUM_DMICS=2,PLATFORM=cnl,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin"
1514
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-4ch-cnl\;\
1615
HDA_CONFIG=mix,NUM_DMICS=4,PLATFORM=cnl,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
17-
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin,HDMI_CONFIG=chaindma"
16+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin"
1817
# TGL: CAVS HDA topology with mixer-based pipelines for HDA and passthrough pipelines for HDMI
19-
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-tgl\;\
20-
HDA_CONFIG=mix,HDMI_CONFIG=chaindma,PLATFORM=tgl"
2118
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-2ch-tgl\;\
22-
HDA_CONFIG=mix,NUM_DMICS=2,PLATFORM=tgl,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin,\
23-
HDMI_CONFIG=chaindma"
19+
HDA_CONFIG=mix,NUM_DMICS=2,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin"
2420
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-4ch-tgl\;\
25-
HDA_CONFIG=mix,NUM_DMICS=4,PLATFORM=tgl,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
26-
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin,HDMI_CONFIG=chaindma"
21+
HDA_CONFIG=mix,NUM_DMICS=4,PLATFORM=cnl,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
22+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt.bin"
2723
# MTL: CAVS HDA topology with mixer-based pipelines for HDA and passthrough pipelines for HDMI
2824
"cavs-passthrough-hdmi\;cavs-mixin-mixout-hda-4ch-mtl\;PLATFORM=mtl,\
29-
HDA_CONFIG=mix,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,PREPROCESS_PLUGINS=nhlt,\
30-
NHLT_BIN=nhlt-mtl-hda-mix.bin,HDMI_CONFIG=chaindma"
25+
HDA_CONFIG=mix,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-mtl-hda-mix.bin"
3126

3227
# CAVS SDW topology with passthrough pipelines
3328
"cavs-sdw\;cavs-sdw"

tools/topology/topology2/cavs/cavs-passthrough-hdmi.conf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<mixout-gain-host-copier-capture.conf>
1717
<deepbuffer-playback.conf>
1818
<passthrough-be.conf>
19-
<chain-dma-playback.conf>
2019
<data.conf>
2120
<pcm.conf>
2221
<pcm_caps.conf>
@@ -35,7 +34,6 @@ Define {
3534
HDA_CONFIG "none"
3635
PLATFORM "none"
3736
NUM_DMICS 0
38-
HDMI_CONFIG "generic"
3937
}
4038

4139
# override defaults with platform-specific config
@@ -61,11 +59,8 @@ Define {
6159
HDMI3_ID 3
6260
}
6361

64-
# include HDMI config
65-
IncludeByKey.HDMI_CONFIG {
66-
"generic" "platform/intel/hdmi-generic.conf"
67-
"chaindma" "platform/intel/hdmi-chain-dma.conf"
68-
}
62+
# always include HDMI config
63+
<hdmi-generic.conf>
6964

7065
Object.Widget.virtual {
7166
codec0_in {

tools/topology/topology2/cavs/platform/intel/hdmi-chain-dma-4th.conf

Lines changed: 0 additions & 33 deletions
This file was deleted.

tools/topology/topology2/cavs/platform/intel/hdmi-chain-dma.conf

Lines changed: 0 additions & 94 deletions
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ Object.Base.VendorToken {
6969
dynamic_pipeline 206
7070
# ABI 4.0 onwards
7171
lp_mode 207
72-
use_chain_dma 209
7372
}
7473

7574
"sof_tkn_intel_ssp" {

tools/topology/topology2/include/components/pipeline.conf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,6 @@ Class.Widget."pipeline" {
9595
}
9696
}
9797

98-
# Skip setting up the pipeline in the DSP in the case of chained DMA mode
99-
DefineAttribute."use_chain_dma" {
100-
type "string"
101-
token_ref "sof_tkn_scheduler.bool"
102-
constraints {
103-
!valid_values [
104-
"true"
105-
"false"
106-
]
107-
}
108-
}
109-
11098
attributes {
11199
# pipeline widget name will be constructed as pipeline.1, pipeline.2 etc
112100
!constructor [

tools/topology/topology2/include/pipelines/cavs/chain-dma-playback.conf

Lines changed: 0 additions & 73 deletions
This file was deleted.

tools/topology/topology2/include/pipelines/pipeline-common.conf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,3 @@ DefineAttribute."time_domain" {
7979

8080
# flag to indicate if the pipeline is dynamic
8181
DefineAttribute."dynamic_pipeline" {}
82-
83-
# Skip setting up the pipeline in the DSP in the case of chained DMA mode
84-
DefineAttribute."use_chain_dma" {
85-
type "string"
86-
constraints {
87-
!valid_values [
88-
"true"
89-
"false"
90-
]
91-
}
92-
}

0 commit comments

Comments
 (0)