Skip to content

Conversation

@marcinszkudlinski
Copy link
Contributor

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

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 <marcin.szkudlinski@intel.com>
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

A bit surprising change, but seems like a good move. We used to have LL_PRE_RUN but removed in commit e0ba544 . These were used in the now-removed Intel HDA driver code, so indeed no usage left in the tree.

Nitpick: typo git commit "I's change it"

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.

@jsarha fyi - you will need this for your work.

@lgirdwood
Copy link
Member

@wszypelt @marcinszkudlinski can you check internal CI. Thanks !

@lrudyX
Copy link

lrudyX commented Mar 31, 2025

@wszypelt @marcinszkudlinski can you check internal CI. Thanks !

@marcinszkudlinski FAIL on both dummy_tester HPSRAM and DRAM iterations

@lgirdwood
Copy link
Member

@marcinszkudlinski any update here, this seems like an important update for DP.

@marcinszkudlinski
Copy link
Contributor Author

@lgirdwood I found some unexpected side-effects of this change.
Problem is

  • DP readiness is calculated before LL processing
  • lets assume result "have 10ms of data, is ready for processing"
  • DP waits till LL finishes as DP threads has lower priority
  • DP starts processing - having 11ms to process
    Maybe it will be best to run the DP trigger twice - before LL and after LL? Still looking for the best way to go

@marcinszkudlinski
Copy link
Contributor Author

Closing for now, wider mode complete solution in progress

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.

4 participants