diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2015-05-07 18:03:59 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-05-09 07:36:57 +0200 |
commit | d81861138898ce8d83bc78f0d558ac3984225e2b (patch) | |
tree | 48762b68a0212357464468ac4026dd148330d724 /drivers/thermal/rockchip_thermal.c | |
parent | thermal/intel_powerclamp: add id for broadwell server (diff) | |
download | linux-d81861138898ce8d83bc78f0d558ac3984225e2b.tar.xz linux-d81861138898ce8d83bc78f0d558ac3984225e2b.zip |
thermal/powerclamp: fix missing newer package c-states
Package C8 to C10 was introduced in newer Intel CPUs, we need to
include them in the package c-state residency calculation.
Otherwise, idle injection target is not accurately maintained by
the closed control loop.
Also cleaned up the code to make it scale better with large number
of c-states.
Reported-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/rockchip_thermal.c')
0 files changed, 0 insertions, 0 deletions