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

CI ONLY #9521

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

marcinszkudlinski
Copy link
Contributor

No description provided.

As DP EDF scheduler runs in LL cycles, DP period should be always
calculated at granularity of LL cycle

Fail preparation if a module calculated period shorter than 1LL cycle

Signed-off-by: Marcin Szkudlinski <[email protected]>
for some huge bitrates there was an overflow in 32bit
numbers in period calculations, i.e:

dev->period = 1000000 * sink_get_min_free_space(sink)

for 192000-32-7 format it was 5824000000, more than maxint32bit

Signed-off-by: Marcin Szkudlinski <[email protected]>
For DP a deadline time starts at the beginning
of LL cycle, so it needs to be calculated there.
As DP is the only users of NOTIFIER_ID_LL_POST_RUN
I's changed it to NOTIFIER_ID_LL_PRE_RUN
instead of introducing another hook

Signed-off-by: Marcin Szkudlinski <[email protected]>
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.

1 participant