Skip to content

Commit

Permalink
topology2: common: pcm_caps: Change the periods_max from 1024 to 256
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit e137e9b)
Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
ujfalusi authored and kv2019i committed Jun 14, 2024
1 parent 364c006 commit 3cf3b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/topology/topology2/include/common/pcm_caps.conf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Class.PCM."pcm_caps" {
formats "S32_LE,S24_LE,S16_LE"
rates "48000"
periods_min 2
periods_max 1024
periods_max 256
channels_min 2
channels_max 2
period_size_min 192 # "$[((2 * $channels_min) * 48000) / 1000]" (48K, S16_LE, 1ms)
Expand Down

0 comments on commit 3cf3b52

Please sign in to comment.