From f6160cbcf6bec4ae4f47714d2d270b01df98c393 Mon Sep 17 00:00:00 2001 From: Valentin Manea Date: Tue, 17 Sep 2013 08:31:55 +0300 Subject: [PATCH] Mali: Increase voltage to fix some system instabilities The previous mali voltage values were too low and causing the system to throw random oops at high CPU load, eg. all cores at 100% at 1.4GHz. Increasing the value fixes the random crashes. --- drivers/gpu/arm/mali/platform/pegasus-m400/mali_platform.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/arm/mali/platform/pegasus-m400/mali_platform.c b/drivers/gpu/arm/mali/platform/pegasus-m400/mali_platform.c index 3a107bb01065ed..607e3c2f649105 100644 --- a/drivers/gpu/arm/mali/platform/pegasus-m400/mali_platform.c +++ b/drivers/gpu/arm/mali/platform/pegasus-m400/mali_platform.c @@ -63,8 +63,10 @@ static struct clk *mali_clock = 0; static unsigned int GPU_MHZ = 1000000; -int mali_gpu_clk = 533;//266; -int mali_gpu_vol = 1075000;//900000 +/* Please take special care lowering these values, specially the voltage + * as it can cause system stability problems: random oops, usb hub resets */ +int mali_gpu_clk = 533; /* 533 MHz */ +int mali_gpu_vol = 1125000;/* 1.1125 V */ #ifdef CONFIG_MALI_DVFS #define MALI_DVFS_DEFAULT_STEP 0