diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2024-04-05 11:09:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-05 13:13:10 +0100 |
commit | 30df76bbcb59254ce646477e3e05f00021a10117 (patch) | |
tree | adf311b715729f3155ebeea449f73f3311efb71b /sound/soc/intel/avs | |
parent | d58275f474b4a27b4e97839ffe8d9fe55c0cc40a (diff) |
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>
Diffstat (limited to 'sound/soc/intel/avs')
-rw-r--r-- | sound/soc/intel/avs/icl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/avs/icl.c b/sound/soc/intel/avs/icl.c index 3e0716160f5a..d279ec1e0ad0 100644 --- a/sound/soc/intel/avs/icl.c +++ b/sound/soc/intel/avs/icl.c @@ -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; } |