ASoC: SOF: Modify the host trace_init parameter list to include dmab
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 16 May 2022 10:47:09 +0000 (13:47 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:44:17 +0000 (16:44 +0100)
commit4b49cbd1e7ebe4b000a7eedc4f910488da62c055
treeec8569c21b5ae701cce76b66d52db555b4a1b0af
parentb69979a1ec2d9347a43bf0ebdad2c1eb23447ca6
ASoC: SOF: Modify the host trace_init parameter list to include dmab

Stop host code (AMD, Intel) to access sdev->dmatb directly.
Modify the trace_init prototype to include the pointer to a
struct snd_dma_buffer. The ipc3-dtrace passes for now the pointer to
sdev->dmatb, but the aim is to move all tracing related runtime information
local to a trace implementation.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220516104711.26115-7-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp-trace.c
sound/soc/sof/amd/acp.h
sound/soc/sof/intel/hda-trace.c
sound/soc/sof/intel/hda.h
sound/soc/sof/ipc3-dtrace.c
sound/soc/sof/ipc3-priv.h
sound/soc/sof/sof-priv.h