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: b3a6d1c570 ("topology2: common: pcm_caps: Increase periods_max from 16 to 1024")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
This commit is contained in:
Peter Ujfalusi 2024-06-06 17:51:28 +03:00 committed by Kai Vehmanen
parent 1470e6c585
commit e137e9bcb8
1 changed files with 1 additions and 1 deletions

View File

@ -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)