ASoC: SOF: add _D3_PERSISTENT flag to fw_ready message
authorKeyon Jie <yang.jie@linux.intel.com>
Thu, 20 Jan 2022 23:15:28 +0000 (17:15 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:31:14 +0000 (13:31 +0000)
commit1dafede34dda19fc2878724145dc16c0b51dc174
treed9ce6ef4f4c8f85f8fbd896b9bee9b6b77213650
parent6cbff4b3a10e3ae5d68f71f197d0a0b14ef97711
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>
include/sound/sof/info.h
include/uapi/sound/sof/abi.h