aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLibin Yang <[email protected]>2022-03-30 13:19:21 -0700
committerMark Brown <[email protected]>2022-04-04 08:39:06 +0100
commit758f24d49bff2707812fb8dfac53930603e26312 (patch)
treeae69fc95292f3cc8c40bb3779d4f93d47b931836 /tools/perf/scripts/python
parent7d8e9d79276492cbc66575a301d7ab8b92786699 (diff)
ASoC: SOF: extend the interface to stop DMA trace
Change the interface to stop the DMA trace for suspend. Replace the snd_sof_init_trace_ipc() and snd_sof_release_trace() calls with more explicit interface for PM (the sole user for this interface). The new snd_sof_trace_suspend() call takes the target PM state as argument, allowing the trace implementation to decide how to handle the transition. Use this information to release DMA resources only if DSP is suspended and will not remain in D0. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Libin Yang <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Signed-off-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions