From: Vladimir A. B. <vba...@ru...> - 2005-03-11 12:15:23
|
Hi Todd, This is a patch for loops_per_jiffie issue in OMAP DPM. The loops_per_jiffie are not correctly calculated by omap-dpm driver so the BogoMIPS in /proc/cpuinfo are always 0. That was due to the dpll_rate exponent is Hz and other values are MHz. The cpu_rate then is recalculated using dpll_rate so the old_cpu_freq/new_cpu_freq ~ MHz and the jiffies scale calculation fails in dpm_compute_lpj(old_cpu_rate, new_cpu_rate). I decided to scale all clk_rates to MHz, because the dpm_compute_lpj() cann't operate with high values. I removed old get_dpll_rate() to the new scheme (in order to mostly conform with new clock.c) and added get_ckref_rate() instead of old source_clock. Also I made workaround to the issue of VCORE voltage scaling - the DPLL cann't be changed with LOW VCORE on OMAP1710H3 (I used the dpm setup script and then consequently changed polycies). Vladimir |