diff options
| author | Mark Brown <broonie@kernel.org> | 2025-06-20 13:33:01 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-06-20 13:33:01 +0300 |
| commit | 07651feeeefbc65e6dae4fbb6fc8d8c785bea574 (patch) | |
| tree | 78693dab3b385d98320350e5901d397abf4c4b57 /include | |
| parent | 820e04cb8cae4904d670b5eca7feaeb07020debe (diff) | |
| parent | ace9b3daf2b4778358573d3698e34cb1c0fa7e14 (diff) | |
| download | linux-07651feeeefbc65e6dae4fbb6fc8d8c785bea574.tar.xz | |
ASoC: SOF: ipc4/Intel: Support for partial context
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
The firmware will be able to only save and restore the context related to
library management.
This means that even without a full context save, the libraries do not
need to be re-loaded to the firmware after second or consecutive boots.
This is reported via the FW_READY notification, where BIT(15) indicates:
0 - the library restore is not done
1 - library restore is done
This bit is only valid if full context save is not enabled, full context
save is by definition saves and restores the library related book-keeping
as well.
Add a new flag to tell the platform code if the libraries have been
restored, no need to reload them after boot.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/sof/ipc4/header.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/sof/ipc4/header.h b/include/sound/sof/ipc4/header.h index f71d04736d17..e85c7afd85a4 100644 --- a/include/sound/sof/ipc4/header.h +++ b/include/sound/sof/ipc4/header.h @@ -498,6 +498,8 @@ struct sof_ipc4_intel_mic_privacy_cap { #define SOF_IPC4_LOG_CORE_GET(x) (((x) & SOF_IPC4_LOG_CORE_MASK) >> \ SOF_IPC4_LOG_CORE_SHIFT) +#define SOF_IPC4_FW_READY_LIB_RESTORED BIT(15) + /* Value of notification type field - must fit into 8 bits */ enum sof_ipc4_notification_type { /* Phrase detected (notification from WoV module) */ |
