mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
cpuidle: lpm-levels: Print enabled clocks, regulators on cpu/cluster LPM
Print enabled clocks, regulators when cpu/cluster enters a LPM level. This debug information is useful to know which resources are enabled and preventing cpu/cluster entry to a LPM level. Change-Id: Ifc69165773a401b35fb4f4ceaccab952f19f88fd Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
This commit is contained in:
parent
87ec7030e2
commit
b1bde1a1a6
1 changed files with 11 additions and 0 deletions
|
|
@ -870,6 +870,17 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
|
|||
}
|
||||
|
||||
if (level->notify_rpm) {
|
||||
/*
|
||||
* Print enabled clocks and regulators which are on during
|
||||
* system suspend. This debug information is useful to know
|
||||
* which resources are enabled and preventing system level
|
||||
* LPMs (XO and Vmin).
|
||||
*/
|
||||
if (!from_idle) {
|
||||
clock_debug_print_enabled();
|
||||
regulator_debug_print_enabled();
|
||||
}
|
||||
|
||||
cpu = get_next_online_cpu(from_idle);
|
||||
cpumask_copy(&cpumask, cpumask_of(cpu));
|
||||
clear_predict_history();
|
||||
|
|
|
|||
Loading…
Reference in a new issue