Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ASoC: SOF: Add support ctx_save with IPC4
@ 2022-06-10  8:35 Peter Ujfalusi
  2022-06-10  8:35 ` [PATCH 1/6] ASoC: SOF: make ctx_store and ctx_restore as optional Peter Ujfalusi
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Peter Ujfalusi @ 2022-06-10  8:35 UTC (permalink / raw)
  To: lgirdwood, broonie, pierre-louis.bossart
  Cc: alsa-devel, yung-chuan.liao, ranjani.sridharan, kai.vehmanen

Hi,

The context save functionality with IPC4 is triggered by sending a message to
the firmware about the pending power down of the primary core by the host.

In order to have this functionality implemented in a clean way we need to
introduce a new IPC level PM ops for core state management and use that instead
of open coding IPC messages here and there.

The first patch updates the ctx store/ctx_restore documentation to clarify that
they are optional.

Regards,
Peter
---
Peter Ujfalusi (6):
  ASoC: SOF: make ctx_store and ctx_restore as optional
  ASoC: SOF: sof_ipc_pm_ops: Add support for DSP core power management
  ASoC: SOF: ipc3: Add set_core_state pm_ops implementation
  ASoC: SOF: ipc4: Add set_core_state pm_ops implementation
  ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_state
  ASoC: SOF: ipc4: implement pm ctx_save callback

 include/sound/sof/ipc4/header.h |  8 +++++++
 sound/soc/sof/intel/hda-dsp.c   | 15 +++++-------
 sound/soc/sof/intel/tgl.c       | 30 ++++++++----------------
 sound/soc/sof/ipc3.c            | 18 +++++++++++++++
 sound/soc/sof/ipc4.c            | 41 +++++++++++++++++++++++++++++++++
 sound/soc/sof/sof-priv.h        |  6 +++--
 6 files changed, 87 insertions(+), 31 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-10 17:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-10  8:35 [PATCH 0/6] ASoC: SOF: Add support ctx_save with IPC4 Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 1/6] ASoC: SOF: make ctx_store and ctx_restore as optional Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 2/6] ASoC: SOF: sof_ipc_pm_ops: Add support for DSP core power management Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 3/6] ASoC: SOF: ipc3: Add set_core_state pm_ops implementation Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 4/6] ASoC: SOF: ipc4: " Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 5/6] ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_state Peter Ujfalusi
2022-06-10  8:35 ` [PATCH 6/6] ASoC: SOF: ipc4: implement pm ctx_save callback Peter Ujfalusi
2022-06-10 17:29 ` [PATCH 0/6] ASoC: SOF: Add support ctx_save with IPC4 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox