Re: [PATCH v4 2/2] arm: dts: sc7180: Add support for gpu fuse
On 2/3/2021 4:22 AM, Bjorn Andersson wrote: On Fri 08 Jan 12:15 CST 2021, Akhil P Oommen wrote: Please align the $subject prefix with other changes in the same file. I fixed it up while picking up the patch this time. Will take of this in future. Thanks, Bjorn. -Akhil. Regards, Bjorn Add support for gpu fuse to help identify the supported opps. Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 6678f1e..8cae3eb 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -675,6 +675,11 @@ reg = <0x25b 0x1>; bits = <1 3>; }; + + gpu_speed_bin: gpu_speed_bin@1d2 { + reg = <0x1d2 0x2>; + bits = <5 8>; + }; }; sdhc_1: sdhci@7c4000 { @@ -1907,52 +1912,69 @@ operating-points-v2 = <_opp_table>; qcom,gmu = <>; + nvmem-cells = <_speed_bin>; + nvmem-cell-names = "speed_bin"; + interconnects = <_noc MASTER_GFX3D 0 _virt SLAVE_EBI1 0>; interconnect-names = "gfx-mem"; gpu_opp_table: opp-table { compatible = "operating-points-v2"; +opp-82500 { + opp-hz = /bits/ 64 <82500>; + opp-level = ; + opp-peak-kBps = <8532000>; + opp-supported-hw = <0x04>; + }; + opp-8 { opp-hz = /bits/ 64 <8>; opp-level = ; opp-peak-kBps = <8532000>; + opp-supported-hw = <0x07>; }; opp-65000 { opp-hz = /bits/ 64 <65000>; opp-level = ; opp-peak-kBps = <7216000>; + opp-supported-hw = <0x07>; }; opp-56500 { opp-hz = /bits/ 64 <56500>; opp-level = ; opp-peak-kBps = <5412000>; + opp-supported-hw = <0x07>; }; opp-43000 { opp-hz = /bits/ 64 <43000>; opp-level = ; opp-peak-kBps = <5412000>; + opp-supported-hw = <0x07>; }; opp-35500 { opp-hz = /bits/ 64 <35500>; opp-level = ; opp-peak-kBps = <3072000>; + opp-supported-hw = <0x07>; }; opp-26700 { opp-hz = /bits/ 64 <26700>; opp-level = ; opp-peak-kBps = <3072000>; + opp-supported-hw = <0x07>; }; opp-18000 { opp-hz = /bits/ 64 <18000>; opp-level = ; opp-peak-kBps = <1804000>; + opp-supported-hw = <0x07>; }; }; }; -- 2.7.4 ___ dri-devel mailing list dri-de...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v4 2/2] arm: dts: sc7180: Add support for gpu fuse
On Fri 08 Jan 12:15 CST 2021, Akhil P Oommen wrote: Please align the $subject prefix with other changes in the same file. I fixed it up while picking up the patch this time. Regards, Bjorn > Add support for gpu fuse to help identify the supported opps. > > Signed-off-by: Akhil P Oommen > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 22 ++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi > b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 6678f1e..8cae3eb 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -675,6 +675,11 @@ > reg = <0x25b 0x1>; > bits = <1 3>; > }; > + > + gpu_speed_bin: gpu_speed_bin@1d2 { > + reg = <0x1d2 0x2>; > + bits = <5 8>; > + }; > }; > > sdhc_1: sdhci@7c4000 { > @@ -1907,52 +1912,69 @@ > operating-points-v2 = <_opp_table>; > qcom,gmu = <>; > > + nvmem-cells = <_speed_bin>; > + nvmem-cell-names = "speed_bin"; > + > interconnects = <_noc MASTER_GFX3D 0 _virt > SLAVE_EBI1 0>; > interconnect-names = "gfx-mem"; > > gpu_opp_table: opp-table { > compatible = "operating-points-v2"; > > + opp-82500 { > + opp-hz = /bits/ 64 <82500>; > + opp-level = > ; > + opp-peak-kBps = <8532000>; > + opp-supported-hw = <0x04>; > + }; > + > opp-8 { > opp-hz = /bits/ 64 <8>; > opp-level = > ; > opp-peak-kBps = <8532000>; > + opp-supported-hw = <0x07>; > }; > > opp-65000 { > opp-hz = /bits/ 64 <65000>; > opp-level = > ; > opp-peak-kBps = <7216000>; > + opp-supported-hw = <0x07>; > }; > > opp-56500 { > opp-hz = /bits/ 64 <56500>; > opp-level = ; > opp-peak-kBps = <5412000>; > + opp-supported-hw = <0x07>; > }; > > opp-43000 { > opp-hz = /bits/ 64 <43000>; > opp-level = > ; > opp-peak-kBps = <5412000>; > + opp-supported-hw = <0x07>; > }; > > opp-35500 { > opp-hz = /bits/ 64 <35500>; > opp-level = ; > opp-peak-kBps = <3072000>; > + opp-supported-hw = <0x07>; > }; > > opp-26700 { > opp-hz = /bits/ 64 <26700>; > opp-level = > ; > opp-peak-kBps = <3072000>; > + opp-supported-hw = <0x07>; > }; > > opp-18000 { > opp-hz = /bits/ 64 <18000>; > opp-level = > ; > opp-peak-kBps = <1804000>; > + opp-supported-hw = <0x07>; > }; > }; > }; > -- > 2.7.4 >
[PATCH v4 2/2] arm: dts: sc7180: Add support for gpu fuse
Add support for gpu fuse to help identify the supported opps. Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 6678f1e..8cae3eb 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -675,6 +675,11 @@ reg = <0x25b 0x1>; bits = <1 3>; }; + + gpu_speed_bin: gpu_speed_bin@1d2 { + reg = <0x1d2 0x2>; + bits = <5 8>; + }; }; sdhc_1: sdhci@7c4000 { @@ -1907,52 +1912,69 @@ operating-points-v2 = <_opp_table>; qcom,gmu = <>; + nvmem-cells = <_speed_bin>; + nvmem-cell-names = "speed_bin"; + interconnects = <_noc MASTER_GFX3D 0 _virt SLAVE_EBI1 0>; interconnect-names = "gfx-mem"; gpu_opp_table: opp-table { compatible = "operating-points-v2"; + opp-82500 { + opp-hz = /bits/ 64 <82500>; + opp-level = ; + opp-peak-kBps = <8532000>; + opp-supported-hw = <0x04>; + }; + opp-8 { opp-hz = /bits/ 64 <8>; opp-level = ; opp-peak-kBps = <8532000>; + opp-supported-hw = <0x07>; }; opp-65000 { opp-hz = /bits/ 64 <65000>; opp-level = ; opp-peak-kBps = <7216000>; + opp-supported-hw = <0x07>; }; opp-56500 { opp-hz = /bits/ 64 <56500>; opp-level = ; opp-peak-kBps = <5412000>; + opp-supported-hw = <0x07>; }; opp-43000 { opp-hz = /bits/ 64 <43000>; opp-level = ; opp-peak-kBps = <5412000>; + opp-supported-hw = <0x07>; }; opp-35500 { opp-hz = /bits/ 64 <35500>; opp-level = ; opp-peak-kBps = <3072000>; + opp-supported-hw = <0x07>; }; opp-26700 { opp-hz = /bits/ 64 <26700>; opp-level = ; opp-peak-kBps = <3072000>; + opp-supported-hw = <0x07>; }; opp-18000 { opp-hz = /bits/ 64 <18000>; opp-level = ; opp-peak-kBps = <1804000>; + opp-supported-hw = <0x07>; }; }; }; -- 2.7.4