[Freedreno] [PATCH 2/2] arm64: dts: Add full GPU frequency table for 8996

Jordan Crouse jcrouse at codeaurora.org
Mon Dec 18 23:27:35 UTC 2017


Now that we have frequency scaling for the GPU give it a full list
of frequencies it can scale to.  The two higher frequencies are for
faster binned parts and the remaining frequencies work on all
targets.

Signed-off-by: Jordan Crouse <jcrouse at codeaurora.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index f136d4c..f495a2e 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -1107,14 +1107,39 @@
 		gpu_opp_table: opp_table {
 			compatible  ="operating-points-v2";
 
+			/*
+			 * 624Mhz and 560Mhz are only available on speed bin
+			 * (1 << 0). All the rest are available on all bins of
+			 * the hardware
+			 */
 			opp-624000000 {
 				opp-hz = /bits/ 64 <624000000>;
 				opp-supported-hw = <0x01>;
 			};
+			opp-560000000 {
+				opp-hz = /bits/ 64 <560000000>;
+				opp-supported-hw = <0x01>;
+			};
 			opp-510000000 {
 				opp-hz = /bits/ 64 <510000000>;
 				opp-supported-hw = <0xFF>;
 			};
+			opp-401800000 {
+				opp-hz = /bits/ 64 <401800000>;
+				opp-supported-hw = <0xFF>;
+			};
+			opp-315000000 {
+				opp-hz = /bits/ 64 <315000000>;
+				opp-supported-hw = <0xFF>;
+			};
+			opp-214000000 {
+				opp-hz = /bits/ 64 <214000000>;
+				opp-supported-hw = <0xFF>;
+			};
+			opp-133000000 {
+				opp-hz = /bits/ 64 <133000000>;
+				opp-supported-hw = <0xFF>;
+			};
 		};
 
 		gpu at b00000 {
-- 
1.9.1



More information about the Freedreno mailing list