author | Jianxin Pan <jianxin.pan@amlogic.com> | 2020-08-26 03:41:58 (GMT) |
---|---|---|
committer | Shen Liu <shen.liu@amlogic.com> | 2020-09-10 07:00:39 (GMT) |
commit | 17361ee0748197520114e081eb5f0f68e33b05f6 (patch) | |
tree | 668604e728fae163b68c3c6dc1b194d6a6c84c7c | |
parent | 6e3541d1a11f6f7a772c79ede8ac45c3d947abb2 (diff) | |
download | common-17361ee0748197520114e081eb5f0f68e33b05f6.zip common-17361ee0748197520114e081eb5f0f68e33b05f6.tar.gz common-17361ee0748197520114e081eb5f0f68e33b05f6.tar.bz2 |
interactive: target load is 90% when freq > 1.6G [1/1]
PD#SWPL-32329
Problem:
SC2 too hot when play 4K online videos
Solution:
update target_loads for interactive
<900M 50%
900M - 1.6G 70%
>1.6G 90%
Verify:
AH212
Change-Id: Ic73fceeb58e06da2daef263348a4ba509764ad5a
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
-rw-r--r-- | drivers/cpufreq/cpufreq_interactive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index d6a42cd..f536e45 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b/drivers/cpufreq/cpufreq_interactive.c @@ -144,7 +144,7 @@ static spinlock_t speedchange_cpumask_lock; /* Target load. Lower values result in higher CPU speeds. */ /* #define DEFAULT_TARGET_LOAD 50,900000,70 */ -static unsigned int default_target_loads[] = {50, 900000, 70}; +static unsigned int default_target_loads[] = {50, 900000, 70, 1600000, 90}; #define HIGH_SPEED 1000000 #define DEFAULT_SAMPLING_RATE (20 * USEC_PER_MSEC) |