diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2024-03-21 16:08:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-25 19:35:57 +0300 |
commit | fd6f6a0632bc891673490bf4a92304172251825c (patch) | |
tree | a9654f22985bbe5a87fc501bffda9e925c59c01a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ce2faa9a180c1984225689b6b1cb26045f8b7470 (diff) | |
download | linux-fd6f6a0632bc891673490bf4a92304172251825c.tar.xz |
ASoC: SOF: Intel: Set the dai/host get frame/byte counter callbacks
Add implementation for reading the LDP (Linear DMA Position) to be used as
get_host_byte_counter().
The LDP is counting the number of bytes moved between the DSP and host
memory.
Set the get_dai_frame_counter to hda_dsp_get_stream_llp, which is counting
the frames on the link side of the DSP.
Cc: stable@vger.kernel.org # 6.8
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240321130814.4412-8-peter.ujfalusi@linux.intel.com
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