Skip to content

Conversation

@kfrydryx
Copy link
Contributor

@kfrydryx kfrydryx commented Apr 7, 2022

When pipeline reset was called from paused state, it was not stopped
beforehand. This resulted in improper device turn-off sequence.
This implementation fits IPC4 pipeline state transitions

   Ipc4 pipeline message <------> ipc3 pipeline message
   RUNNING     <-------> TRIGGER START
   INIT + PAUSED  <-------> PIPELINE COMPLETE
   INIT + RESET <-------> PIPELINE COMPLETE
   PAUSED      <-------> TRIGER_PAUSE
   RESET       <-------> TRIGER_STOP + RESET
   EOS(end of stream) <-------> NOT SUPPORT NOW

Signed-off-by: Krzysztof Frydryk krzysztofx.frydryk@intel.com

When pipeline reset was called from paused state, it was not stopped
beforehand. This resulted in improper device turn-off sequence.

Signed-off-by: Krzysztof Frydryk <krzysztofx.frydryk@intel.com>
@kfrydryx kfrydryx marked this pull request as ready for review April 8, 2022 06:09
@lgirdwood lgirdwood merged commit 27e9635 into thesofproject:main Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants