From e28f03defb85360b4348e0305e4894181fce714c Mon Sep 17 00:00:00 2001 From: xxx Date: Thu, 10 May 2012 15:42:32 -0700 Subject: [PATCH] gpu 400mhz(vol 1.1V) --- arch/arm/mach-rk30/board-rk30-sdk.c | 2 +- arch/arm/mach-rk30/cpufreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 arch/arm/mach-rk30/cpufreq.c diff --git a/arch/arm/mach-rk30/board-rk30-sdk.c b/arch/arm/mach-rk30/board-rk30-sdk.c index 615c63d66532..412474f9e897 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk.c +++ b/arch/arm/mach-rk30/board-rk30-sdk.c @@ -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}, }; diff --git a/arch/arm/mach-rk30/cpufreq.c b/arch/arm/mach-rk30/cpufreq.c old mode 100644 new mode 100755 index cdc8c7f21f4b..358aaf3c836c --- a/arch/arm/mach-rk30/cpufreq.c +++ b/arch/arm/mach-rk30/cpufreq.c @@ -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"); -- 2.34.1