default hispeed_freq 816MHz
default go_hispeed_load 80%
update target_freq with policy->cur in timer
static u64 hispeed_freq;
/* Go to hi speed when CPU load at or above this value. */
+#ifdef CONFIG_ARCH_RK29
+#define DEFAULT_GO_HISPEED_LOAD 80
+#else
#define DEFAULT_GO_HISPEED_LOAD 95
+#endif
static unsigned long go_hispeed_load;
/*
new_freq = pcpu->freq_table[index].frequency;
+#ifdef CONFIG_ARCH_RK29
+ pcpu->target_freq = pcpu->policy->cur;
+#endif
if (pcpu->target_freq == new_freq)
goto rearm_if_notmax;
}
if (!hispeed_freq)
+#ifdef CONFIG_ARCH_RK29
+ hispeed_freq = 816000;
+#else
hispeed_freq = policy->max;
+#endif
/*
* Do not register the idle hook and create sysfs