]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: actmon: adjust boost up and down value
authorJihoon Bang <jbang@nvidia.com>
Fri, 28 Jun 2013 22:15:47 +0000 (15:15 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:31:08 +0000 (13:31 -0700)
isomgr requests needed memory BW in advance in T14x.
emc actmon doesn't have to be aggressive in increasing
emc frequency.

Bug 1298258

Change-Id: Iec3189c9b5cd873fe56d2d1af7e9dfdf586d86af
Reviewed-on: http://git-master/r/243588
(cherry picked from commit 17de4484f32ce814b3f0b11731533352709307f8)
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/248040
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
arch/arm/mach-tegra/tegra3_actmon.c

index 79c544d2c7251e07742d721952f496a55b1884fa..e604f24f8e6cdfb9f6339bac6935e38d82c1c61e 100644 (file)
@@ -502,8 +502,13 @@ static struct actmon_dev actmon_dev_emc = {
        .boost_freq_step        = 16000,
        .boost_up_coef          = 200,
        .boost_down_coef        = 50,
+#if defined(CONFIG_ARCH_TEGRA_14x_SOC)
+       .boost_up_threshold     = 70,
+       .boost_down_threshold   = 50,
+#else
        .boost_up_threshold     = 60,
        .boost_down_threshold   = 40,
+#endif
 
        .up_wmark_window        = 1,
        .down_wmark_window      = 3,