All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jordan Crouse <jcrouse@codeaurora.org>
To: freedreno@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org
Subject: [PATCH 2/2] arm64: dts: Add full GPU frequency table for 8996
Date: Mon, 18 Dec 2017 16:27:35 -0700	[thread overview]
Message-ID: <1513639655-9023-3-git-send-email-jcrouse@codeaurora.org> (raw)
In-Reply-To: <1513639655-9023-1-git-send-email-jcrouse@codeaurora.org>

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@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@b00000 {
-- 
1.9.1

      parent reply	other threads:[~2017-12-18 23:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 23:27 [PATCH 0/2] drm/msm: device tree changes to support devfreq Jordan Crouse
     [not found] ` <1513639655-9023-1-git-send-email-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-12-18 23:27   ` [PATCH 1/2] arm64: dts: Use OPP table for Adreno GPU Jordan Crouse
2017-12-18 23:27 ` Jordan Crouse [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513639655-9023-3-git-send-email-jcrouse@codeaurora.org \
    --to=jcrouse@codeaurora.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.