Skip to content

pipeline: allow render pipeline to recover from xrun - #125

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
tlauda:topic/xrun_allow_recovery
Jul 18, 2018
Merged

pipeline: allow render pipeline to recover from xrun#125
lgirdwood merged 1 commit into
thesofproject:masterfrom
tlauda:topic/xrun_allow_recovery

Conversation

@tlauda

Copy link
Copy Markdown
Contributor

Fixes pipeline's ability to recover from xrun for render streams.
Normally for render the ppl task is scheduled after trigger start,
but in this case trigger start is done on current's task level.

Signed-off-by: Tomasz Lauda tomasz.lauda@linux.intel.com

Fixes pipeline's ability to recover from xrun for render streams.
Normally for render the ppl task is scheduled after trigger start,
but in this case trigger start is done on current's task level.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
@tlaudatlauda closed this Jul 18, 2018
@tlaudatlauda reopened this Jul 18, 2018
@lgirdwood

Copy link
Copy Markdown
Member

I was about to merge when you closed, I guess you have a better fix ?

@tlauda

Copy link
Copy Markdown
ContributorAuthor

Probably, just hold on a little bit longer.

@tlauda

Copy link
Copy Markdown
ContributorAuthor

You can merge it as it is.
Implementing it the right way requires many changes in the scheduler.
I will do it in the near future.

@lgirdwood
lgirdwood merged commit fd55d5f into thesofproject:masterJul 18, 2018
Comment threadsrc/audio/pipeline.c

/* for playback copy it here, because scheduling won't work
* on this interrupt level
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So you mean you kept the schedule idle copy in the pipeline trigger start as it will never work there?
Thus this is some workaround for now?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Exactly. Also my comment is a little bit misleading. To be precised, schedule won't work, because scheduler doesn't allow to add to the list tasks, which are currently running.

keqiaozhang pushed a commit to keqiaozhang/sof that referenced this pull request Nov 21, 2018
@tlauda
tlauda deleted the topic/xrun_allow_recovery branch November 22, 2019 11:26
Sign up for freeto 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.

3 participants

@tlauda@lgirdwood@xiulipan