GPU: raise 3d gpu-cpu bus speed, and change idle timer
/arch/arm/mach-msm/devices-8960.c
blob:381d046ae7a03f85e736f088ecbf3bebd9d31f7b -> blob:61e0beb185734294661d10a5d9b443d15cb5ce1e
--- arch/arm/mach-msm/devices-8960.c
+++ 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(2400), //300 MHz GPU
+ .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(3200), //400 MHz GPU
+ .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(2400), //300 MHz
+ .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(2560), //320MHz GPU = 2400 Mbps
+ .ib = KGSL_CONVERT_TO_MBPS(2400), //300MHz GPU = 2400 Mbps
},
};
@@ -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(2400), //300 MHz GPU
+ .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(2560), // 320Mhz = 2400 Mbps
+ .ib = KGSL_CONVERT_TO_MBPS(2400), // 300Mhz = 2400 Mbps
},
};
@@ -2788,27 +2788,27 @@ static struct resource kgsl_3d0_resource
static struct kgsl_device_platform_data kgsl_3d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 512000000,
+ .gpu_freq = 480000000,
.bus_freq = 4,
.io_fraction = 0,
},
{
- .gpu_freq = 480000000,
+ .gpu_freq = 400000000,
.bus_freq = 3,
.io_fraction = 0,
},
{
- .gpu_freq = 400000000,
+ .gpu_freq = 300000000,
.bus_freq = 2,
.io_fraction = 33,
},
{
- .gpu_freq = 300000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
.io_fraction = 100,
},
{
- .gpu_freq = 177778000,
+ .gpu_freq = 27000000,
.bus_freq = 0,
},
},
@@ -2854,11 +2854,11 @@ static struct resource kgsl_2d0_resource
static struct kgsl_device_platform_data kgsl_2d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 320000000,
+ .gpu_freq = 300000000,
.bus_freq = 2,
},
{
- .gpu_freq = 300000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{
@@ -2908,11 +2908,11 @@ static struct resource kgsl_2d1_resource
static struct kgsl_device_platform_data kgsl_2d1_pdata = {
.pwrlevel = {
{
- .gpu_freq = 320000000,
+ .gpu_freq = 300000000,
.bus_freq = 2,
},
{
- .gpu_freq = 300000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{