linux_dsm_epyc7002/sound/soc/sof
Liam Girdwood 8920153c64
ASoC: SOF: Add PM support
Add support for saving and restoring DSP context in D3 to host DDR.

The suspend callback includes: suspend all pcm's stream that are running,
send CTX_SAVE ipc, drop all ipc's, release trace dma and then
power off the DSP.

And the resume callback performs the following steps: load FW, run FW,
re-initialize trace, restore pipeline, restore the kcontrol values
and finally send the ctx restore ipc to the dsp.

The streams that are suspended are resumed by the ALSA resume trigger.
If the streams are paused during system suspend, they are marked
explicitly so they can be restored during PAUSE_RELEASE.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-04-28 02:49:22 +09:00
..
control.c ASoC: SOF: Add Sound Open Firmware KControl support 2019-04-28 02:47:50 +09:00
core.c
debug.c ASoC: SOF: Add driver debug support. 2019-04-28 02:47:54 +09:00
ipc.c ASoC: SOF: Add support for IPC IO between DSP and Host 2019-04-28 02:47:58 +09:00
loader.c ASoC: SOF: Add firmware loader support 2019-04-28 02:48:21 +09:00
ops.c ASoC: SOF: Add DSP HW abstraction operations 2019-04-28 02:48:15 +09:00
ops.h ASoC: SOF: Add DSP HW abstraction operations 2019-04-28 02:48:15 +09:00
pcm.c ASoC: SOF: Add PCM operations support 2019-04-28 02:48:02 +09:00
pm.c ASoC: SOF: Add PM support 2019-04-28 02:49:22 +09:00
sof-priv.h
topology.c ASoC: SOF: Add support for loading topologies 2019-04-28 02:48:06 +09:00
trace.c ASoC: SOF: Add DSP firmware logger support 2019-04-28 02:48:10 +09:00