diff options
author | 2020-11-18 16:05:45 +0200 | |
---|---|---|
committer | 2020-11-19 13:00:04 +0000 | |
commit | caebea04b9125c677e6e747793fbc7fab077727b (patch) | |
tree | ebc7b8f65bbbc784df3aee16e3ad26e57a34c92d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ASoC: SOF: relax PCM period and buffer size constraints (diff) | |
download | linux-dev-caebea04b9125c677e6e747793fbc7fab077727b.tar.xz linux-dev-caebea04b9125c677e6e747793fbc7fab077727b.zip |
ASoC: SOF: Intel: add hw specific PCM constraints
Part of PCM constraints are set based on DSP topology, but rest
should be set based on hardware capabilities. Add PCM constraints
for Intel platforms:
- Add constraint for the period count to be integer. This avoids
wrap-arounds of the DMA circular buffer in middle of a period.
- Align period size to dword/32bit as per HDA spec.
Both constraints are aligned with current implementation in snd-hda-intel
driver.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20201118140545.2138895-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions