On the lite sku where GPU Fmax is 550Mhz, voting for a slightly higher
bandwidth at the highest gpu opp helps to improve "Manhattan offscreen"
score by 10%. Update the gpu opp table such that this is applicable only
on SKUs which has 550Mhz as GPU Fmax.

Signed-off-by: Akhil P Oommen <[email protected]>
---

 arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi 
b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 13d7f26..5a16592 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2352,11 +2352,19 @@
                                        opp-supported-hw = <0x03>;
                                };
 
-                               opp-550000000 {
+                               /* Only applicable for SKUs which has 550Mhz as 
Fmax */
+                               opp-550000000-0 {
+                                       opp-hz = /bits/ 64 <550000000>;
+                                       opp-level = 
<RPMH_REGULATOR_LEVEL_SVS_L1>;
+                                       opp-peak-kBps = <8368000>;
+                                       opp-supported-hw = <0x01>;
+                               };
+
+                               opp-550000000-1 {
                                        opp-hz = /bits/ 64 <550000000>;
                                        opp-level = 
<RPMH_REGULATOR_LEVEL_SVS_L1>;
                                        opp-peak-kBps = <6832000>;
-                                       opp-supported-hw = <0x03>;
+                                       opp-supported-hw = <0x02>;
                                };
 
                                opp-608000000 {
-- 
2.7.4

Reply via email to