UPSTREAM: drivers/thermal/cpufreq_cooling: Use new Energy Model interface
Energy Model framework support modifications at runtime of the power values. Use the new EM table which is protected with RCU. Align the code so that this RCU read section is short. This change is not expected to alter the general functionality. Reviewed-by:Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by:
Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 489147c4391c73fab39628ff6d93f8a01d7e6765) Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Change-Id: I129899cdab74d5df8660e9e846cfcf5da6716ae3
Loading
Please sign in to comment