mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sc8280xp: fix GPU peak bandwidth votes
@ 2026-11-16 14:43 Xilin Wu
  0 siblings, 0 replies; only message in thread
From: Xilin Wu @ 2026-11-16 14:43 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, dragon, Xilin Wu

The GPU OPP peak bandwidths omit the four-byte DDR interface width.
As a result, the interconnect receives a quarter of the intended peak
bandwidth, which can limit performance under memory-intensive loads.

Include the interface width when converting the existing DDR frequency
levels to decimal kB/s.

With this change, clpeak --opencl --bandwidth reports an increase in
bandwidth from 23.3 GB/s to 60.5 GB/s.

Fixes: eec51ab2fd6f ("arm64: dts: qcom: sc8280xp: Add GPU related nodes")
Signed-off-by: Xilin Wu <sophon@radxa.com>
---
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index d17475c3e66c..d4c49ea52c36 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -3420,49 +3420,49 @@ gpu_opp_table: opp-table {
 				opp-270000000 {
 					opp-hz = /bits/ 64 <270000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
-					opp-peak-kBps = <451000>;
+					opp-peak-kBps = <1804000>;
 				};
 
 				opp-410000000 {
 					opp-hz = /bits/ 64 <410000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
-					opp-peak-kBps = <1555000>;
+					opp-peak-kBps = <6220000>;
 				};
 
 				opp-500000000 {
 					opp-hz = /bits/ 64 <500000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
-					opp-peak-kBps = <1555000>;
+					opp-peak-kBps = <6220000>;
 				};
 
 				opp-547000000 {
 					opp-hz = /bits/ 64 <547000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
-					opp-peak-kBps = <1555000>;
+					opp-peak-kBps = <6220000>;
 				};
 
 				opp-606000000 {
 					opp-hz = /bits/ 64 <606000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
-					opp-peak-kBps = <2736000>;
+					opp-peak-kBps = <10944000>;
 				};
 
 				opp-640000000 {
 					opp-hz = /bits/ 64 <640000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
-					opp-peak-kBps = <2736000>;
+					opp-peak-kBps = <10944000>;
 				};
 
 				opp-655000000 {
 					opp-hz = /bits/ 64 <655000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
-					opp-peak-kBps = <2736000>;
+					opp-peak-kBps = <10944000>;
 				};
 
 				opp-690000000 {
 					opp-hz = /bits/ 64 <690000000>;
 					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
-					opp-peak-kBps = <2736000>;
+					opp-peak-kBps = <10944000>;
 				};
 			};
 		};

---
base-commit: 151a134a4e6ec66f69db8750c66006f5207f7a9d
change-id: 20261116-sc8280xp-gpu-bw-bd32f9249fc7

Best regards,
--  
Xilin Wu <sophon@radxa.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-16 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 14:43 [PATCH] arm64: dts: qcom: sc8280xp: fix GPU peak bandwidth votes Xilin Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®