Enable GPU 5th Step?

AAccount

Senior Member
Sep 8, 2010
1,005
1,909
0
I was looking around in the gpu driver files and I noticed that there was a hidden 5th 533MHz OC in there. I tried to enable it by copying in the "asv_3d_volt_9_prime" table in for the "non-prime" table. I made sure to remove the -1 in the non prime's table so it wouldn't think the extra voltages for 533MHz was out of bounds. I made sure to comment out these crippling lines:

Code:
/*if ((samsung_rev() < EXYNOS4412_REV_2_0) && (maliDvfsStatus.currentStep == 3)) 
			{
				level=get_mali_dvfs_status();
			}*/ //a crippling check for "prime" note 2?
I also (after looking at siyah's kernel) copied in the entries for the step4 sysfs variables into mali_kernel_linux.c but my cell phone seems to be bent on not giving me this 5th step.

Sorry again for asking a question that's probably obvious to elite developers. Oh and thank you for answering my question on adding frequencies to the cpu. I now have my own (not copy and pasted :cyclops: ) lines in there to give me 2OC frequency and 1 underclock frequency.
 
Last edited:

AndreiLux

Senior Member
Jul 9, 2011
3,209
14,595
0
Where's that code snippet from? Anyway it's not related to the limiting if the 5th step.

Code:
 static mali_bool mali_dvfs_table_update(void)
{
unsigned int i;
unsigned int step_num = MALI_DVFS_STEPS;

//if (samsung_rev() < EXYNOS4412_REV_2_0)
//step_num = MALI_DVFS_STEPS - 1;
Just comment out those two lines in the DVFS decision making and it should scale up to 5 steps.
 

AAccount

Senior Member
Sep 8, 2010
1,005
1,909
0
Where's that code snippet from? Anyway it's not related to the limiting if the 5th step.

Code:
 static mali_bool mali_dvfs_table_update(void)
{
unsigned int i;
unsigned int step_num = MALI_DVFS_STEPS;

//if (samsung_rev() < EXYNOS4412_REV_2_0)
//step_num = MALI_DVFS_STEPS - 1;
Just comment out those two lines in the DVFS decision making and it should scale up to 5 steps.
I tried that already. It didn't work. The code snippet I pasted comes from the same file.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone