Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] ipc4: set_dx: Change active pipeline check from error to warning #9225

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tmleman
Copy link
Contributor

@tmleman tmleman commented Jun 12, 2024

During the power state transition process for DSP cores, the system previously checked for any active pipelines and prevented the transition if any were found, returning an IPC4_BUSY error. This behavior could potentially block power transitions even in cases where active pipelines do not critically affect the transition process.

This patch changes the behavior to issue a warning instead of an error when active pipelines are detected during a power state transition (DX transition). The intention is to allow the power transition to proceed while still logging the presence of active pipelines for diagnostic purposes.

During the power state transition process for DSP cores, the system
previously checked for any active pipelines and prevented the transition
if any were found, returning an IPC4_BUSY error. This behavior could
potentially block power transitions even in cases where active pipelines
do not critically affect the transition process.

This patch changes the behavior to issue a warning instead of an error
when active pipelines are detected during a power state transition (DX
transition). The intention is to allow the power transition to proceed
while still logging the presence of active pipelines for diagnostic
purposes.

Signed-off-by: Tomasz Leman <[email protected]>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmleman I guess this will help unblock power cycle if audio driver crashes ?
@plbossart fyi

@tmleman
Copy link
Contributor Author

tmleman commented Jun 19, 2024

Update: Leaving as DNM due to ongoing internal discussion about what the correct behavior should be.

@lgirdwood
Copy link
Member

@tmleman will track for this for v2.11 so its kept in context until a decision is made.

@lgirdwood lgirdwood added this to the v2.11 milestone Jun 26, 2024
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.

None yet

2 participants