ASoC: Intel: avs: Wake from D0ix when starting streaming
It is recommended to keep the DSP domain in full-power when starting DMA engines. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://msgid.link/r/20240405090929.1184068-11-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d58275f474
commit
30df76bbcb
@ -109,6 +109,10 @@ int avs_icl_log_buffer_offset(struct avs_dev *adev, u32 core)
|
||||
|
||||
bool avs_icl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake)
|
||||
{
|
||||
/* Full-power when starting DMA engines. */
|
||||
if (tx->glb.set_ppl_state.state == AVS_PPL_STATE_RUNNING)
|
||||
return true;
|
||||
|
||||
/* Payload-less IPCs do not take part in d0ix toggling. */
|
||||
return tx->size;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user