summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKai Vehmanen <kai.vehmanen@linux.intel.com>2025-10-02 10:47:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-15 12:04:16 +0200
commit3e8e9fb1c814b64e8fdbb79946b2688f58dad8ba (patch)
tree2710f1b58fb573bddf210612ab0d3dacb034cc36 /tools/perf/scripts/python/stackcollapse.py
parent88e6763084a2a0c59260481cd5790a2703ea050a (diff)
downloadkernel-3e8e9fb1c814b64e8fdbb79946b2688f58dad8ba.tar.gz
ASoC: SOF: ipc4-pcm: fix delay calculation when DSP resamples
commit bcd1383516bb5a6f72b2d1e7f7ad42c4a14837d1 upstream. When the sampling rates going in (host) and out (dai) from the DSP are different, the IPC4 delay reporting does not work correctly. Add support for this case by scaling the all raw position values to a common timebase before calculating real-time delay for the PCM. Cc: stable@vger.kernel.org Fixes: 0ea06680dfcb ("ASoC: SOF: ipc4-pcm: Correct the delay calculation") Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://patch.msgid.link/20251002074719.2084-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions