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 Change-Id: Ied4c72d73083d794ad6d8af1eb305be4fb382de3 Signed-off-by:vincent wang <vincentwang3@lenovo.com>
Loading