-
Notifications
You must be signed in to change notification settings - Fork 349
intel: ace: Enable KCPS Dynamic Clock Control for LNL and PTL #9568
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
intel: ace: Enable KCPS Dynamic Clock Control for LNL and PTL #9568
Conversation
This patch adds definitions for the base CPS (Cycles Per Second) usage for primary and secondary cores in the `clk.h` file for the LNL platform. **Changes Include:** - Defined `PRIMARY_CORE_BASE_CPS_USAGE` as 20000. - Defined `SECONDARY_CORE_BASE_CPS_USAGE` as 10000. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This patch adds definitions for the base CPS (Cycles Per Second) usage for primary and secondary cores in the `clk.h` file for the PTL platform. **Changes Include:** - Defined `PRIMARY_CORE_BASE_CPS_USAGE` as 20000. - Defined `SECONDARY_CORE_BASE_CPS_USAGE` as 10000. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This patch enables the `CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL` option for the LNL platform by updating the `intel_adsp_ace20_lnl.conf` configuration file. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This patch enables the `CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL` option for the PTL platform by updating the `intel_adsp_ace30_ptl.conf` configuration file. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
|
@kv2019i can we run bigger test scope for this on LNL/PTL? It was not easy to stabilize on MTL |
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, we just need to not use the deprecated legacy headers as they will be removed soon.
| #define PRIMARY_CORE_BASE_CPS_USAGE 20000 | ||
| #define SECONDARY_CORE_BASE_CPS_USAGE 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is going to get removed as it was needed for xtos usage, can we make this a Kconfig value ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can be in a separate PR (as the platform clk.h is already used for this purpose in mainline), but agreed this is better moved off and not add any new usage of platform layer to the codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I'm good with this, we can follow up later and fix the header.
| #define PRIMARY_CORE_BASE_CPS_USAGE 20000 | ||
| #define SECONDARY_CORE_BASE_CPS_USAGE 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can be in a separate PR (as the platform clk.h is already used for this purpose in mainline), but agreed this is better moved off and not add any new usage of platform layer to the codebase.
| #define PRIMARY_CORE_BASE_CPS_USAGE 20000 | ||
| #define SECONDARY_CORE_BASE_CPS_USAGE 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I'm good with this, we can follow up later and fix the header.
This pull request introduces the following changes to the LNL and PTL platforms:
Enable KCPS Dynamic Clock Control:
intel_adsp_ace20_lnl.confconfiguration file to enableCONFIG_KCPS_DYNAMIC_CLOCK_CONTROLfor the LNL platform.intel_adsp_ace30_ptl.confconfiguration file to enableCONFIG_KCPS_DYNAMIC_CLOCK_CONTROLfor the PTL platform.Define Base CPS Usage:
PRIMARY_CORE_BASE_CPS_USAGEandSECONDARY_CORE_BASE_CPS_USAGEin theclk.hfile for both LNL and PTL platforms.