Skip to content

Commit bbfa6d8

Browse files
libinyanglgirdwood
authored andcommitted
Revert "topology1: sof-icl-rt711-rt1308-rt715-hdmi: remove NO_AGGREGATION"
This reverts commit 3904756. Signed-off-by: Libin Yang <libin.yang@intel.com>
1 parent cfec789 commit bbfa6d8

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

tools/topology/topology1/sof-icl-rt711-rt1308-rt715-hdmi.m4

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,16 @@ PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
110110
`
111111
# Low Latency playback pipeline 3 on PCM 2 using max 2 channels of s32le.
112112
# Schedule 48 frames per 1000us deadline with priority 0 on core 0
113-
PIPELINE_PCM_ADD(sof/pipe-volume-demux-playback.m4,
113+
PIPELINE_PCM_ADD(ifdef(`NO_AGGREGATION',`sof/pipe-volume-playback.m4',
114+
`sof/pipe-volume-demux-playback.m4'),
114115
3, 2, 2, s32le,
115116
1000, 0, 0,
116117
48000, 48000, 48000)
117118

118119
# Low Latency playback pipeline 4 on PCM 40 using max 2 channels of s32le.
119120
# Schedule 48 frames per 1000us deadline with priority 0 on core 0
120-
PIPELINE_PCM_ADD(sof/pipe-dai-endpoint.m4,
121+
PIPELINE_PCM_ADD(ifdef(`NO_AGGREGATION', `sof/pipe-volume-playback.m4',
122+
`sof/pipe-dai-endpoint.m4'),
121123
4, 40, 2, s32le,
122124
1000, 0, 0,
123125
48000, 48000, 48000)
@@ -206,7 +208,14 @@ DAI_ADD(sof/pipe-dai-playback.m4,
206208
PIPELINE_SOURCE_3, 2, s24le,
207209
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
208210

209-
ifdef(`MONO', `',
211+
ifdef(`NO_AGGREGATION',
212+
`# playback DAI is ALH(SDW2 PIN2) using 2 periods
213+
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
214+
DAI_ADD(sof/pipe-dai-playback.m4,
215+
4, ALH, eval(AMP_2_LINK * 256 + 2), `SDW'eval(AMP_2_LINK)`-Playback',
216+
PIPELINE_SOURCE_4, 2, s24le,
217+
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)',
218+
`ifdef(`MONO', `',
210219
`DAI_ADD_SCHED(sof/pipe-dai-sched-playback.m4,
211220
4, ALH, eval(AMP_2_LINK * 256 + 2), `SDW'eval(AMP_1_LINK)`-Playback',
212221
PIPELINE_SOURCE_4, 2, s24le,
@@ -222,7 +231,7 @@ SectionGraph."PIPE_DEMUX" {
222231
dapm(PIPELINE_SOURCE_4, PIPELINE_DEMUX_3)
223232
]
224233
}
225-
')
234+
')')
226235

227236
# capture DAI is ALH(SDW3 PIN2) using 2 periods
228237
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
@@ -262,6 +271,7 @@ PCM_CAPTURE_ADD(Jack In, 1, PIPELINE_PCM_2)
262271
')
263272

264273
PCM_PLAYBACK_ADD(Speaker, 2, PIPELINE_PCM_3)
274+
ifdef(`NO_AGGREGATION', `PCM_PLAYBACK_ADD(Speaker 2, 40, PIPELINE_PCM_4)',`')
265275
PCM_CAPTURE_ADD(Microphone, 4, PIPELINE_PCM_5)
266276
PCM_PLAYBACK_ADD(HDMI 1, 5, PIPELINE_PCM_6)
267277
PCM_PLAYBACK_ADD(HDMI 2, 6, PIPELINE_PCM_7)
@@ -287,6 +297,12 @@ DAI_CONFIG(ALH, eval(UAJ_LINK * 256 + 3), 1, `SDW'eval(UAJ_LINK)`-Capture',
287297
DAI_CONFIG(ALH, eval(AMP_1_LINK * 256 + 2), 2, `SDW'eval(AMP_1_LINK)`-Playback',
288298
ALH_CONFIG(ALH_CONFIG_DATA(ALH, eval(AMP_1_LINK * 256 + 2), 48000, 2)))
289299

300+
ifdef(`NO_AGGREGATION',
301+
`#ALH SDW2 Pin2 (ID: 3)
302+
DAI_CONFIG(ALH, eval(AMP_2_LINK * 256 + 2), 3, `SDW'eval(AMP_2_LINK)`-Playback',
303+
ALH_CONFIG(ALH_CONFIG_DATA(ALH, eval(AMP_2_LINK * 256 + 2), 48000, 2)))',
304+
`')
305+
290306
#ALH SDW3 Pin2 (ID: 4)
291307
DAI_CONFIG(ALH, eval(MIC_LINK * 256 + 2), 4, `SDW'eval(MIC_LINK)`-Capture',
292308
ALH_CONFIG(ALH_CONFIG_DATA(ALH, eval(MIC_LINK * 256 + 2), 48000, 2)))

0 commit comments

Comments
 (0)