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

ipc4: fixes for waiting. #8000

Merged
merged 3 commits into from
Aug 3, 2023
Merged

ipc4: fixes for waiting. #8000

merged 3 commits into from
Aug 3, 2023

Conversation

lgirdwood
Copy link
Member

Some minor imrpovements and fixes.

src/ipc/ipc4/handler.c Show resolved Hide resolved
src/ipc/ipc4/handler.c Show resolved Hide resolved
Give more context for pipeline context changes.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
No need to check every 250uS for ipc completion, relax this to avoid
any busy scheduling.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
reset the atomic ipc4 message delay state after any timeout error.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood
Copy link
Member Author

lgirdwood commented Aug 2, 2023

Rebased on top of vmh fixes.

@lgirdwood
Copy link
Member Author

@mwasko fyi - may need this for mtl-06, its fixing #7774.

@lgirdwood
Copy link
Member Author

@wszypelt @lrudyX I've rebased and it failed the second time, but passed 1st time. False positive ?

@wszypelt
Copy link

wszypelt commented Aug 2, 2023

@wszypelt @lrudyX I've rebased and it failed the second time, but passed 1st time. False positive ?

@lgirdwood False positive, good to merge :)

@lgirdwood
Copy link
Member Author

@lgirdwood
Copy link
Member Author

SOFCI TEST

@@ -277,6 +282,8 @@ int set_pipeline_state(struct ipc_comp_dev *ppl_icd, uint32_t cmd,
return 0;
case COMP_STATE_ACTIVE:
case COMP_STATE_PAUSED:
tr_dbg(&ipc_tr, "ipc4: set pipeline %d new cmd state %x: pause from reset",
Copy link
Member

Choose a reason for hiding this comment

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

I would write active/pause from reset since there's a fallback case, but that's a nit-pick

Copy link
Member Author

Choose a reason for hiding this comment

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

tbh, the state changes confused me a bit here. It probably needs more inline commentry from an IPC4 expert.

Copy link
Collaborator

@keqiaozhang keqiaozhang left a comment

Choose a reason for hiding this comment

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

Confirmed that it can fix #7774.

@lgirdwood lgirdwood merged commit 767702f into main Aug 3, 2023
64 checks passed
@lgirdwood lgirdwood deleted the lrg/topic/ipc4-fixes branch August 3, 2023 08:38
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.

9 participants