summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2018-07-02 15:19:54 -0600
committerMark Brown <broonie@kernel.org>2018-07-03 16:14:31 +0100
commit8c6b964eddd2c39a9796899b2be099ece1b6c6ca (patch)
tree8300fbd8dbc2190570e4e77a967432a9c2ccc98a /tools/perf/scripts/python/export-to-sqlite.py
parent55af49ac1b8627dfbfa2689af118d994d7a0ba1b (diff)
downloadlinux-8c6b964eddd2c39a9796899b2be099ece1b6c6ca.tar.gz
linux-8c6b964eddd2c39a9796899b2be099ece1b6c6ca.zip
ASoC: AMD: Do not generate interrups for every captured sample
On capture, audio data is first copied from I2S to ACP memory, and then from ACP to SYSRAM. The I2S_TO_ACP_DMA interrupt fires on every sample transferred from I2S to ACP memory. That is it fires ~48000 times per second when capturing @ 48 kHz. Since we don't do anything on this interrupt anyway, disable it to save quite a few unnecessary interrupts. The real "work" (calling snd_pcm_period_elapsed()) is done when transfer from ACP to SYSRAM is complete. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions