msm: kgsl: Add SVS frequency for 8064
The lowest current frequency is still a vote for nominal voltage.
Add a frequency that allows kgsl to vote for SVS.
Change-Id: I719c3a4c3ba7909bfca1c4756ea0ae176f5f689e
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064-gpu.c b/arch/arm/mach-msm/board-8064-gpu.c
index 41dccac..e24cac6 100644
--- a/arch/arm/mach-msm/board-8064-gpu.c
+++ b/arch/arm/mach-msm/board-8064-gpu.c
@@ -67,6 +67,21 @@
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
+ .ib = KGSL_CONVERT_TO_MBPS(1000),
+ },
+ {
+ .src = MSM_BUS_MASTER_GRAPHICS_3D_PORT1,
+ .dst = MSM_BUS_SLAVE_EBI_CH0,
+ .ab = 0,
+ .ib = KGSL_CONVERT_TO_MBPS(1000),
+ },
+};
+
+static struct msm_bus_vectors grp3d_nominal_low_vectors[] = {
+ {
+ .src = MSM_BUS_MASTER_GRAPHICS_3D,
+ .dst = MSM_BUS_SLAVE_EBI_CH0,
+ .ab = 0,
.ib = KGSL_CONVERT_TO_MBPS(2000),
},
{
@@ -117,6 +132,10 @@
grp3d_low_vectors,
},
{
+ ARRAY_SIZE(grp3d_nominal_low_vectors),
+ grp3d_nominal_low_vectors,
+ },
+ {
ARRAY_SIZE(grp3d_nominal_high_vectors),
grp3d_nominal_high_vectors,
},
@@ -177,16 +196,21 @@
.pwrlevel = {
{
.gpu_freq = 400000000,
- .bus_freq = 3,
+ .bus_freq = 4,
.io_fraction = 0,
},
{
.gpu_freq = 325000000,
- .bus_freq = 2,
+ .bus_freq = 3,
.io_fraction = 33,
},
{
.gpu_freq = 200000000,
+ .bus_freq = 2,
+ .io_fraction = 100,
+ },
+ {
+ .gpu_freq = 128000000,
.bus_freq = 1,
.io_fraction = 100,
},
@@ -196,7 +220,7 @@
},
},
.init_level = 1,
- .num_levels = 4,
+ .num_levels = 5,
.set_grp_async = NULL,
.idle_timeout = HZ/10,
.nap_allowed = true,