linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sc7280: Update gpu opp table
@ 2022-08-28 19:40 Akhil P Oommen
  2022-08-30  3:26 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Akhil P Oommen @ 2022-08-28 19:40 UTC (permalink / raw)
  To: freedreno, linux-arm-msm,
	OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Rob Clark,
	Bjorn Andersson
  Cc: Akhil P Oommen, Andy Gross, Konrad Dybcio, Krzysztof Kozlowski,
	Rob Herring, linux-kernel

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 <quic_akhilpo@quicinc.com>
---

 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sc7280: Update gpu opp table
  2022-08-28 19:40 [PATCH] arm64: dts: qcom: sc7280: Update gpu opp table Akhil P Oommen
@ 2022-08-30  3:26 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-08-30  3:26 UTC (permalink / raw)
  To: robdclark, OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-arm-msm, Bjorn Andersson, freedreno, quic_akhilpo
  Cc: krzysztof.kozlowski+dt, konrad.dybcio, linux-kernel, robh+dt, agross

On Mon, 29 Aug 2022 01:10:55 +0530, Akhil P Oommen wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sc7280: Update gpu opp table
      commit: ad3b0f33fa54b472d11169c1f0ada1b1d0ca5c6f

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-30  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-28 19:40 [PATCH] arm64: dts: qcom: sc7280: Update gpu opp table Akhil P Oommen
2022-08-30  3:26 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).