Skip to content

[FEATURE][IPC4] Adjust DSP frequency based on pipeline cost data (CPC/CPS) #7267

Closed

Description

@kv2019i

Is your feature request related to a problem? Please describe.
The pipeline create messages provide enough data to describe the cycle budget for a particular pipeline and its configuration. DSP should use this information to adjust the DSP operation point on platforms that support this.

SOF
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
One version outside main in
553b2a6

Additional context
Blocking merge of #7233

FYI @abonislawski @mwasko @ujfalusi @lgirdwood @kfrydryx @pblaszko

Activity

  1. added
    enhancementNew feature or request
    IPC4Issues observed with IPC4 (same IPC as Windows)
    MTLApplies to Meteor Lake platform
    on Mar 14, 2023
  2. added this to the v2.6 milestone on Mar 17, 2023
  3. modified the milestones: v2.6, v2.7 on May 10, 2023
  4. kv2019i commented on Aug 8, 2023

    @kv2019i
    CollaboratorAuthor

    Implemented in #6649 , closing.

  5. kv2019i commented on Aug 9, 2023

    @kv2019i
    CollaboratorAuthor

    Sorry, was a bit too fast on this. We still need the pipeline changes in #8019 to complete this.

  6. reopened this on Aug 9, 2023
  7. added
    clockIssues related to clock settings
    and removed
    clockIssues related to clock settings
    on Aug 16, 2023
  8. modified the milestones: v2.7, v2.8 on Sep 1, 2023
  9. kv2019i commented on Sep 25, 2023

    @kv2019i
    CollaboratorAuthor

    Assigning as per owner of #8019

  10. btian1 commented on Nov 15, 2023

    @btian1
    Contributor

    As we all know, current MTL clock only have two options, 38.4mhz and 393.216mhz, seems we only need take Wov as 38.4mhz and others all run at max freq, we may implement this as now for current solution.

    Later, we still need a way to adjust each core dsp clock based on overall pipeline performance when HW support 100/200, we can think about how to implement this in future.

    is above thinking reasonable and applicable?

  11. plbossart commented on Nov 15, 2023

    @plbossart
    Member

    The WoV clock only makes sense if ONLY core0 is used.

    Once you have more than 1 core used, then the assumption is that you need quite a bit of processing power.

    I would be surprised anyways if we can select the clock individually for each core. IIRC this a global setting for all cores. Please check.

  12. kv2019i commented on Nov 24, 2023

    @kv2019i
    CollaboratorAuthor

    This seems to need more time, pushing to v2.9.

  13. modified the milestones: v2.8, v2.9 on Nov 24, 2023
  14. kv2019i commented on Mar 4, 2024

    @kv2019i
    CollaboratorAuthor

    Implemented available and reviewed at #8019 but merge blocked due to failing test cases. Pushing to 2.10.

  15. modified the milestones: v2.9, v2.10 on Mar 4, 2024
  16. kv2019i commented on Apr 24, 2024

    @kv2019i
    CollaboratorAuthor

    With #8019 merged, we can now close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IPC4Issues observed with IPC4 (same IPC as Windows)MTLApplies to Meteor Lake platformenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions