ASoC: SOF: IPC4: query fw_context_save feature from fw
authorRander Wang <rander.wang@intel.com>
Fri, 15 Dec 2023 08:31:01 +0000 (16:31 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Dec 2023 12:57:56 +0000 (12:57 +0000)
commit855a4772be9dc777cbcd580c8a07d9c54908219b
tree526ceab39c33f4b644cfd25943bb906acf4576d8
parent57cd29a82574b0e9d99ed5789801c96f765e8fcb
ASoC: SOF: IPC4: query fw_context_save feature from fw

Driver queries fw_context_save feature when fw is ready and can skip
library reload with this feature since library is saved in persistent
memory. The default value of fw_context_save is true unless fw reports
false.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20231215083102.3064200-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/lnl.c
sound/soc/sof/intel/mtl.c
sound/soc/sof/intel/tgl.c
sound/soc/sof/ipc4-loader.c
sound/soc/sof/ipc4-priv.h