gpu 400mhz(vol 1.1V)
authorxxx <xxx@rock-chips.com>
Thu, 10 May 2012 22:42:32 +0000 (15:42 -0700)
committerxxx <xxx@rock-chips.com>
Thu, 10 May 2012 22:43:22 +0000 (15:43 -0700)
arch/arm/mach-rk30/board-rk30-sdk.c
arch/arm/mach-rk30/cpufreq.c [changed mode: 0644->0755]

index 615c63d66532146c7a0a811db166b7909b3e77cc..412474f9e89733817eb4aef193b03c885bb7331d 100755 (executable)
@@ -1442,7 +1442,7 @@ static struct dvfs_arm_table dvfs_cpu_logic_table[] = {
 };
 static struct cpufreq_frequency_table dvfs_gpu_table[] = {
        {.frequency = 266 * 1000,       .index = 1000 * 1000},
-       {.frequency = 400 * 1000,       .index = 1300 * 1000},
+       {.frequency = 400 * 1000,       .index = 1100 * 1000},
        {.frequency = CPUFREQ_TABLE_END},
 };
 
old mode 100644 (file)
new mode 100755 (executable)
index cdc8c7f..358aaf3
@@ -213,7 +213,7 @@ static int rk30_cpu_init(struct cpufreq_policy *policy)
                if (!IS_ERR(ddr_clk))
                {
                        clk_enable_dvfs(ddr_clk);
-                       clk_set_rate(ddr_clk,clk_get_rate(ddr_clk)+1);
+                       clk_set_rate(ddr_clk,clk_get_rate(ddr_clk)-1);
                }
                
                cpu_clk = clk_get(NULL, "cpu");