diff options
author | Keyon Jie <yang.jie@linux.intel.com> | 2022-01-21 02:15:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-24 16:31:14 +0300 |
commit | 1dafede34dda19fc2878724145dc16c0b51dc174 (patch) | |
tree | d9ce6ef4f4c8f85f8fbd896b9bee9b6b77213650 /include/sound/sof/info.h | |
parent | 6cbff4b3a10e3ae5d68f71f197d0a0b14ef97711 (diff) | |
download | linux-1dafede34dda19fc2878724145dc16c0b51dc174.tar.xz |
ASoC: SOF: add _D3_PERSISTENT flag to fw_ready message
Add a bit definition to the fw_ready message, to denote if the FW
supports the IMR (Isolated Memory Region) restoring feature.
If the bit is set, the driver can skip downloading the firmware again
during system resume or runtime resume.
Bump the ABI version to 3.19 to make it aligned with FW side.
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220120231532.196926-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof/info.h')
-rw-r--r-- | include/sound/sof/info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h index 0b7101aef596..65e86e4e9fd8 100644 --- a/include/sound/sof/info.h +++ b/include/sound/sof/info.h @@ -25,6 +25,7 @@ #define SOF_IPC_INFO_LOCKS BIT(1) #define SOF_IPC_INFO_LOCKSV BIT(2) #define SOF_IPC_INFO_GDB BIT(3) +#define SOF_IPC_INFO_D3_PERSISTENT BIT(4) /* extended data types that can be appended onto end of sof_ipc_fw_ready */ enum sof_ipc_ext_data { |