GPU: fix GPU OC

file:778ac52866dbf700662b5dbff2f3530f0375674f -> file:3c5865ecd7bf0c01aeab877d8ce2ef92937f8c8a
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -2613,7 +2613,7 @@ static struct msm_bus_vectors grp3d_low_
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz GPU
},
};
@@ -2622,7 +2622,7 @@ static struct msm_bus_vectors grp3d_nomi
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(2400), //300 MHz GPU
},
};
@@ -2631,7 +2631,7 @@ static struct msm_bus_vectors grp3d_nomi
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(3968),
+ .ib = KGSL_CONVERT_TO_MBPS(3968), //400 MHz GPU
},
};
@@ -2640,7 +2640,7 @@ static struct msm_bus_vectors grp3d_max_
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(5290),
+ .ib = KGSL_CONVERT_TO_MBPS(5290), //480 MHz GPU
},
};
@@ -2687,7 +2687,7 @@ static struct msm_bus_vectors grp2d0_nom
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE0,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz
},
};
@@ -2696,7 +2696,7 @@ static struct msm_bus_vectors grp2d0_max
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE0,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(1840), //2228 MHz
},
};
@@ -2735,7 +2735,7 @@ static struct msm_bus_vectors grp2d1_nom
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE1,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz GPU
},
};
@@ -2744,7 +2744,7 @@ static struct msm_bus_vectors grp2d1_max
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE1,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(1840), //228MHz GPU
},
};
@@ -2798,12 +2798,12 @@ static struct kgsl_device_platform_data
.io_fraction = 0,
},
{
- .gpu_freq = 200000000,
+ .gpu_freq = 300000000,
.bus_freq = 2,
- .io_fraction = 100,
+ .io_fraction = 33,
},
{
- .gpu_freq = 128000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
.io_fraction = 100,
},
@@ -2853,11 +2853,11 @@ static struct resource kgsl_2d0_resource
static struct kgsl_device_platform_data kgsl_2d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 200000000,
+ .gpu_freq = 228571000,
.bus_freq = 2,
},
{
- .gpu_freq = 96000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{
@@ -2906,11 +2906,11 @@ static struct resource kgsl_2d1_resource
static struct kgsl_device_platform_data kgsl_2d1_pdata = {
.pwrlevel = {
{
- .gpu_freq = 200000000,
+ .gpu_freq = 228571000,
.bus_freq = 2,
},
{
- .gpu_freq = 96000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{