-
Notifications
You must be signed in to change notification settings - Fork 349
platform: mtl: lowest clock as default #7233
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
platform: mtl: lowest clock as default #7233
Conversation
This patch sets lowest clock as default for Meteorlake platform. In current version FW can do unnecessary clocks switching operations. FW should start from low value and scale-up if necessary. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
|
We can't merge this until the KCPS_REGISTER stuff is merged to kernel and topologies and we have sane values. @jsarha @ujfalusi are we ready? E.g. thesofproject/linux#4213 and friends. |
#7160 is merged, but it currently only has the 0 kcps defined as the default value for all pipelines. |
|
This PR does not need any KCPS stuff. Our default clock is the lowest one, thats why we have to force HP clock in init (in current code).
And we should keep it at 0. This is calculated by FW based on manifest data (currently only on MTL-004 branch). |
kv2019i
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.
@abonislawski wrote:
And we should keep it at 0. This is calculated by FW based on manifest data (currently only on MTL-004 branch).
Right, so it's 0 in tplg and fw doesn't calculate so this patch will break MTL in main as DSP clock will be kept at lowest level? -1 until this is clarified. Shouldn't the calculation basd on FW data (or higher default in tplg) be merged first, before we do this PR.
Driver should use kcps_register to adjust this if necessary.
Hmm, how will topology authors know when it is necessary? This seems very fuzzy to me and we need to have this documented somewhere else then review comments..
abonislawski
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.
yeap, actually we cant merge it now because temporary HP switch in init will not update clk info so its better to keep it as is for now
|
Assigning milestone so this can be tracked and merged once dependencies are all in place. |
|
Since it will not gonna be merge in the near future I'm closing this PR. |
This patch sets lowest clock as default for Meteorlake platform. In current version FW can do unnecessary clocks switching operations. FW should start from low value and scale-up if necessary.