I learned today that the kernel sources we use for sun8i/legacy use a hardcoded clockspeed of 252 MHz
Any objections against increasing this to eg. 504 MHz? Or let's better say: Anyone interested in giving this a try and check whether we run in problems with budget cooling?
Ok, since Quake 3 is running ok we can close this issue. But it's great that Melanrz learned that GPU acceleration has nothing to do with CPU clockspeed and that he thinks Chromium (that needs Mali 4.1 drivers for OpenEGLS) would work HW accelerated if Quake scores are high enough.
Hmm... based on the results that were made with 504 MHz and since thermal readouts do not increase what about adding patch/kernel/sun8i-default/0017-increase-mali-clockspeed.patch with the following contents:
diff --git a/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c b/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c
index 54e50d5..86629ae 100644
@@ -37,7 +37,7 @@ static struct clk *gpu_pll = NULL;
- int freq = 252; /* 252 MHz */
+ int freq = 600; /* 600 MHz */
gpu_pll = clk_get(NULL, PLL_GPU_CLK);
I'll leave it up to you but since we have working throttling with 3.4 kernel IMO there's not much to worry about...
Increase Mali400MP2 clockspeed @sun8i