Skip to content

Commit 338bdbc

Browse files
Sharat Masettyandersson
authored andcommitted
arm64: dts: qcom: SDM845: Enable GPU DDR bw scaling
This patch adds the interconnects property for the gpu node and the opp-peak-kBps property to the opps of the gpu opp table. This should help enable DDR bandwidth scaling dynamically and proportionally to the GPU frequency. Signed-off-by: Sharat Masetty <[email protected]> Signed-off-by: Akhil P Oommen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 8aa6ac2 commit 338bdbc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/arm64/boot/dts/qcom/sdm845.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4007,42 +4007,52 @@
40074007

40084008
qcom,gmu = <&gmu>;
40094009

4010+
interconnects = <&mem_noc MASTER_GFX3D &mem_noc SLAVE_EBI1>;
4011+
interconnect-names = "gfx-mem";
4012+
40104013
gpu_opp_table: opp-table {
40114014
compatible = "operating-points-v2";
40124015

40134016
opp-710000000 {
40144017
opp-hz = /bits/ 64 <710000000>;
40154018
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
4019+
opp-peak-kBps = <7216000>;
40164020
};
40174021

40184022
opp-675000000 {
40194023
opp-hz = /bits/ 64 <675000000>;
40204024
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
4025+
opp-peak-kBps = <7216000>;
40214026
};
40224027

40234028
opp-596000000 {
40244029
opp-hz = /bits/ 64 <596000000>;
40254030
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
4031+
opp-peak-kBps = <6220000>;
40264032
};
40274033

40284034
opp-520000000 {
40294035
opp-hz = /bits/ 64 <520000000>;
40304036
opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
4037+
opp-peak-kBps = <6220000>;
40314038
};
40324039

40334040
opp-414000000 {
40344041
opp-hz = /bits/ 64 <414000000>;
40354042
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
4043+
opp-peak-kBps = <4068000>;
40364044
};
40374045

40384046
opp-342000000 {
40394047
opp-hz = /bits/ 64 <342000000>;
40404048
opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4049+
opp-peak-kBps = <2724000>;
40414050
};
40424051

40434052
opp-257000000 {
40444053
opp-hz = /bits/ 64 <257000000>;
40454054
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
4055+
opp-peak-kBps = <1648000>;
40464056
};
40474057
};
40484058
};

0 commit comments

Comments
 (0)