Skip to content

ipc4: fixes for waiting. - #8000

Merged
lgirdwood merged 3 commits into
mainfrom
lrg/topic/ipc4-fixes
Aug 3, 2023
Merged

lgirdwood merged 3 commits into
mainfrom
lrg/topic/ipc4-fixes

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Some minor imrpovements and fixes.

Comment thread src/ipc/ipc4/handler.c Outdated
Comment thread src/ipc/ipc4/handler.c Outdated
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
lgirdwood force-pushed the lrg/topic/ipc4-fixes branch from 8231d2f to 664b94b Compare August 2, 2023 10:53
@lgirdwood

lgirdwood commented Aug 2, 2023 •

Copy link
Copy Markdown
Member Author

Rebased on top of vmh fixes.

@lgirdwood

Copy link
Copy Markdown
Member Author

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

@lgirdwood

Copy link
Copy Markdown
Member Author

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

@wszypelt

wszypelt commented Aug 2, 2023 •

Copy link
Copy Markdown

@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
Copy Markdown
Member Author

@lgirdwood

Copy link
Copy Markdown
Member Author

SOFCI TEST

Comment thread src/ipc/ipc4/handler.c
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
Copy Markdown
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
Copy Markdown
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.

@mengdonglin
mengdonglin requested a review from keqiaozhang August 3, 2023 02:30

@keqiaozhang keqiaozhang left a comment

Copy link
Copy Markdown
Collaborator

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.

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