Commit feb96cea authored by vincent wang's avatar vincent wang Committed by Erin Wang
Browse files

ANDROID: GKI: add a vendor hook in cpufreq_online

In this vendor hook, we can register the energy model before sending the
notification to avoid pd_init failure for some clusters.

more detail info about pd_init failure,  pls refer to the link:
https://lore.kernel.org/lkml/20230118044733.29391-1-bhuwz@163.com/T/



But the change patch cannot be submitted upstream due to differences in the
cpufreq code, the failure only appears on the aosp kernel.

Bug: 312392542
Bug: 315065664

Change-Id: Ied4c72d73083d794ad6d8af1eb305be4fb382de3
Signed-off-by: default avatarvincent wang <vincentwang3@lenovo.com>
(cherry picked from commit 71647086)
parent a6b8bed8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment