Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6c643c8 authored by Alok Chauhan's avatar Alok Chauhan
Browse files

ARM: dts: msm: Add static rules to throttle GPU on 8916



Add static rules to throttle GPU on 8916

Change-Id: Ib9fa4a7ebc700214477ddbfcd95b16c88e11d3ac
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent e4b5be8f
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -47,6 +47,35 @@
			qcom,mode = <THROTTLE_OFF>;
			qcom,dest-node = <&mas_apss>;
		};

		rule3 {
			qcom,src-nodes = <&mas_gfx>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <1600000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_gfx>;
			qcom,dest-bw = <600000>;
		};

		rule4 {
			qcom,src-nodes = <&mas_gfx>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <3200000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_gfx>;
			qcom,dest-bw = <1200000>;
		};

		rule5 {
			qcom,src-nodes = <&mas_gfx>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_GT>;
			qcom,thresh = <3200000>;
			qcom,mode = <THROTTLE_OFF>;
			qcom,dest-node = <&mas_gfx>;
		};
	};
};