|
Ok, reading my post i admit i made a bit of confusion (sometimes my memory fault)
Here is an extract of a conversation i had a couple of years ago with a friend (thanks Pat!!) which explained me what i tried to say in a bad way, hope this may be of some help
Now the Mali clock freq is taken from PLL4, which is set here: ./arch/arm/mach-sun4i/clock/clock.c to 960MHz. The divisor is taken from the mali_clkdiv setting in script.bin. If you want to play around with the setting, I'd suggest you change the line
tmpSclk->clk->rate = 960000000;
with one that reads PLL4 from the script.bin (this is done by android and is in all the A20 FEX files). Then you can set the clock and divisor at boot time.
Note that it typically maxes out below 400MHz. Also note that this clock is shared with the video decoder (cedarx) on A10, which also maxes out below 400MHz. It uses a different divider and selects it automatically based on the PLL4 clock rate, and limits the cedarx clock to 320MHz. So if you set PLL4 to 400MHz, the cedarx driver will not set its divider less than 2, and the max clock on cedarx will then be 200MHz
.....
if i have understood, the pll4 and the mali_clkdiv are the governors of gpu clock (960/3=320). Decreasing these values, i could run mali at 200mhz and increase the cpu clock.
But reversing the mod, i coud overclock the gpu May be this right?
.....
Correct. GPU and CPU are clocked independently. Only the GPU and video decoder are on the same clock, but with different dividers.
|
|