rk: cpufreq: interactive: adjust default value
author黄涛 <huangtao@rock-chips.com>
Thu, 29 Aug 2013 01:48:59 +0000 (09:48 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 29 Aug 2013 01:49:35 +0000 (09:49 +0800)
drivers/cpufreq/cpufreq_interactive.c

index 07c2f3b944223a8e208b1bd58f17428b92440bfa..fa55603a0a959b91a934abce09917a0a45e825a9 100755 (executable)
@@ -931,6 +931,13 @@ static int cpufreq_governor_interactive(struct cpufreq_policy *policy,
                                hispeed_freq = 816000;
                        else if (cpufreq_frequency_table_target(policy, freq_table, policy->min + 1, CPUFREQ_RELATION_L, &index) == 0)
                                hispeed_freq = freq_table[index].frequency;
+                       if (policy->max > 1416000) {
+                               timer_slack_val = 20000;
+                               min_sample_time = 40000;
+                               above_hispeed_delay_val = 80000;
+                               store_target_loads(NULL, NULL, "70 1200000:80 1416000:99", 0);
+                       }
+                       boostpulse_duration_val = 500000;
                }
 #else
                        hispeed_freq = policy->max;