diff options
author | Keyon Jie <[email protected]> | 2020-02-28 17:18:47 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-02 14:13:47 +0000 |
commit | e582f4832a9ee27d92502b58f3a1b3331457e8bb (patch) | |
tree | b739ada2cb92fd9beacfcd792e8b90c21712407f /tools/perf/scripts/python/stackcollapse.py | |
parent | a57ec83a7104eab6f08215702067fbcbef90c0a0 (diff) |
ASoC: SOF: pcm: skip DMA buffer pre-allocation
As discussion in ALSA https://patchwork.kernel.org/patch/11336023/, it
is suggested to skip DMA buffer pre-allocation with passing size=0 when
calling snd_pcm_set_managed_buffer(), to make the full buffer_bytes
range configured in topology file selectable from user space, here do
the corresponding change in SOF PCM driver to implement it.
This change doesn't have dependency to the change that Takashi will do
in the ALSA core by adding total_pcm_alloc_bytes limitation to the
struct snd_card, it passes tests both with or without Takashi's coming
change on SOF CML platform.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Keyon Jie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions