Skip to content

Commit 3cf3b52

Browse files
ujfalusikv2019i
authored andcommitted
topology2: common: pcm_caps: Change the periods_max from 1024 to 256
HDA host DMA has limitation on the number of BDL entries which translates to number of periods, this limit is 256. The Chrome ALSA compliance test is eagerly try to use as many periods as it can which exceeds the BDL limit and the stream cannot be started. Fixes: b3a6d1c ("topology2: common: pcm_caps: Increase periods_max from 16 to 1024") Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> (cherry picked from commit e137e9b) Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 364c006 commit 3cf3b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Class.PCM."pcm_caps" {
8484
formats "S32_LE,S24_LE,S16_LE"
8585
rates "48000"
8686
periods_min 2
87-
periods_max 1024
87+
periods_max 256
8888
channels_min 2
8989
channels_max 2
9090
period_size_min 192 # "$[((2 * $channels_min) * 48000) / 1000]" (48K, S16_LE, 1ms)

0 commit comments

Comments
 (0)