* [PATCH v3 0/2] DRM/MSM: Support for Adreno 663 GPU
@ 2024-10-30 7:02 Akhil P Oommen
2024-10-30 7:02 ` [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen
2024-10-30 7:02 ` [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU Akhil P Oommen
0 siblings, 2 replies; 14+ messages in thread
From: Akhil P Oommen @ 2024-10-30 7:02 UTC (permalink / raw)
To: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar,
Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree,
Puranam V G Tejaswi, Akhil P Oommen
This series adds support for Adreno 663 gpu found in SA8775P chipsets.
The closest gpu which is currently supported in drm-msm is A660.
Following are the major differences with that:
1. gmu/zap firmwares
2. Recommended to disable Level2 swizzling
Verified kmscube/weston/glmark2-es2 with the below Mesa change [1].
This series is rebased on top of msm-next.
Since they are already picked up, I have dropped the patches for msm-next
in this revision. Remaining 2 devicetree patches are for Bjorn.
Devicetree changes have a runtime dependency on the Display DT change [2].
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31211
[2] https://patchwork.freedesktop.org/patch/620500/?series=140216
To: Rob Clark <robdclark@gmail.com>
To: Sean Paul <sean@poorly.run>
To: Konrad Dybcio <konradybcio@kernel.org>
To: Abhinav Kumar <quic_abhinavk@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Marijn Suijten <marijn.suijten@somainline.org>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
To: Connor Abbott <cwabbott0@gmail.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: freedreno@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
-Akhil
---
Changes in v3:
- Rebased on the latest msm-next tip
- Added R-b tags from Dmitry
- Dropped patch #1 and #2 from v2 revision since they are already
picked up in msm-next
- Link to v2: https://lore.kernel.org/r/20241022-a663-gpu-support-v2-0-38da38234697@quicinc.com
Changes in v2:
- Fixed ubwc configuration (dimtry)
- Split out platform dt patch (dimtry)
- Fix formatting in the dt patch (dimtry)
- Updated Opp table to include all levels
- Updated bw IB votes to match downstream
- Rebased on top of msm-next tip
- Link to v1: https://lore.kernel.org/r/20240918-a663-gpu-support-v1-0-25fea3f3d64d@quicinc.com
---
Puranam V G Tejaswi (2):
arm64: dts: qcom: sa8775p: Add gpu and gmu nodes
arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU
arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 +++
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 ++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
---
base-commit: d6d1ad32d00714ecf9f1996173c6f98e43c5b022
change-id: 20240917-a663-gpu-support-b1475c828606
Best regards,
--
Akhil P Oommen <quic_akhilpo@quicinc.com>
^ permalink raw reply [flat|nested] 14+ messages in thread* [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes 2024-10-30 7:02 [PATCH v3 0/2] DRM/MSM: Support for Adreno 663 GPU Akhil P Oommen @ 2024-10-30 7:02 ` Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio 2024-11-12 20:57 ` Akhil P Oommen 2024-10-30 7:02 ` [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU Akhil P Oommen 1 sibling, 2 replies; 14+ messages in thread From: Akhil P Oommen @ 2024-10-30 7:02 UTC (permalink / raw) To: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi, Akhil P Oommen From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> Add gpu and gmu nodes for sa8775p chipset. As of now all SKUs have the same GPU fmax, so there is no requirement of speed bin support. Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 +++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index e8dbc8d820a6..c6cb18193787 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3072,6 +3072,100 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + gpu: gpu@3d00000 { + compatible = "qcom,adreno-663.0", "qcom,adreno"; + reg = <0x0 0x03d00000 0x0 0x40000>, + <0x0 0x03d9e000 0x0 0x1000>, + <0x0 0x03d61000 0x0 0x800>; + reg-names = "kgsl_3d0_reg_memory", + "cx_mem", + "cx_dbgc"; + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; + iommus = <&adreno_smmu 0 0xc00>, + <&adreno_smmu 1 0xc00>; + operating-points-v2 = <&gpu_opp_table>; + qcom,gmu = <&gmu>; + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "gfx-mem"; + #cooling-cells = <2>; + + status = "disabled"; + + gpu_zap_shader: zap-shader { + memory-region = <&pil_gpu_mem>; + }; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-405000000 { + opp-hz = /bits/ 64 <405000000>; + opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; + opp-peak-kBps = <5285156>; + }; + + opp-676000000 { + opp-hz = /bits/ 64 <676000000>; + opp-level = <RPMH_REGULATOR_LEVEL_NOM>; + opp-peak-kBps = <8171875>; + }; + + opp-778000000 { + opp-hz = /bits/ 64 <778000000>; + opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; + opp-peak-kBps = <10687500>; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; + opp-peak-kBps = <12484375>; + }; + }; + }; + + gmu: gmu@3d6a000 { + compatible = "qcom,adreno-gmu-663.0", "qcom,adreno-gmu"; + reg = <0x0 0x03d6a000 0x0 0x34000>, + <0x0 0x03de0000 0x0 0x10000>, + <0x0 0x0b290000 0x0 0x10000>; + reg-names = "gmu", "rscc", "gmu_pdc"; + interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hfi", "gmu"; + clocks = <&gpucc GPU_CC_CX_GMU_CLK>, + <&gpucc GPU_CC_CXO_CLK>, + <&gcc GCC_DDRSS_GPU_AXI_CLK>, + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, + <&gpucc GPU_CC_AHB_CLK>, + <&gpucc GPU_CC_HUB_CX_INT_CLK>, + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>; + clock-names = "gmu", + "cxo", + "axi", + "memnoc", + "ahb", + "hub", + "smmu_vote"; + power-domains = <&gpucc GPU_CC_CX_GDSC>, + <&gpucc GPU_CC_GX_GDSC>; + power-domain-names = "cx", + "gx"; + iommus = <&adreno_smmu 5 0xc00>; + operating-points-v2 = <&gmu_opp_table>; + + gmu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; + }; + }; + }; + + gpucc: clock-controller@3d90000 { compatible = "qcom,sa8775p-gpucc"; reg = <0x0 0x03d90000 0x0 0xa000>; -- 2.45.2 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes 2024-10-30 7:02 ` [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen @ 2024-10-31 20:30 ` Konrad Dybcio 2024-11-01 14:46 ` Akhil P Oommen 2024-11-12 20:57 ` Akhil P Oommen 1 sibling, 1 reply; 14+ messages in thread From: Konrad Dybcio @ 2024-10-31 20:30 UTC (permalink / raw) To: Akhil P Oommen, Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 30.10.2024 8:02 AM, Akhil P Oommen wrote: > From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > Add gpu and gmu nodes for sa8775p chipset. As of now all > SKUs have the same GPU fmax, so there is no requirement of > speed bin support. > > Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 +++++++++++++++++++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index e8dbc8d820a6..c6cb18193787 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -3072,6 +3072,100 @@ tcsr_mutex: hwlock@1f40000 { > #hwlock-cells = <1>; > }; > > + gpu: gpu@3d00000 { > + compatible = "qcom,adreno-663.0", "qcom,adreno"; Is the patchlevel zero for this SKU? > + reg = <0x0 0x03d00000 0x0 0x40000>, > + <0x0 0x03d9e000 0x0 0x1000>, > + <0x0 0x03d61000 0x0 0x800>; > + reg-names = "kgsl_3d0_reg_memory", > + "cx_mem", > + "cx_dbgc"; > + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; > + iommus = <&adreno_smmu 0 0xc00>, > + <&adreno_smmu 1 0xc00>; > + operating-points-v2 = <&gpu_opp_table>; > + qcom,gmu = <&gmu>; > + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; > + interconnect-names = "gfx-mem"; > + #cooling-cells = <2>; You might want to hook this up to a thermal-zone right away Konrad ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes 2024-10-31 20:30 ` Konrad Dybcio @ 2024-11-01 14:46 ` Akhil P Oommen 0 siblings, 0 replies; 14+ messages in thread From: Akhil P Oommen @ 2024-11-01 14:46 UTC (permalink / raw) To: Konrad Dybcio, Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 11/1/2024 2:00 AM, Konrad Dybcio wrote: > On 30.10.2024 8:02 AM, Akhil P Oommen wrote: >> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >> >> Add gpu and gmu nodes for sa8775p chipset. As of now all >> SKUs have the same GPU fmax, so there is no requirement of >> speed bin support. >> >> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> >> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> >> --- >> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 +++++++++++++++++++++++++++++++++++ >> 1 file changed, 94 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> index e8dbc8d820a6..c6cb18193787 100644 >> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> @@ -3072,6 +3072,100 @@ tcsr_mutex: hwlock@1f40000 { >> #hwlock-cells = <1>; >> }; >> >> + gpu: gpu@3d00000 { >> + compatible = "qcom,adreno-663.0", "qcom,adreno"; > > Is the patchlevel zero for this SKU? Yes. There is only a single revision implemented downstream. > > >> + reg = <0x0 0x03d00000 0x0 0x40000>, >> + <0x0 0x03d9e000 0x0 0x1000>, >> + <0x0 0x03d61000 0x0 0x800>; >> + reg-names = "kgsl_3d0_reg_memory", >> + "cx_mem", >> + "cx_dbgc"; >> + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; >> + iommus = <&adreno_smmu 0 0xc00>, >> + <&adreno_smmu 1 0xc00>; >> + operating-points-v2 = <&gpu_opp_table>; >> + qcom,gmu = <&gmu>; >> + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS >> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; >> + interconnect-names = "gfx-mem"; >> + #cooling-cells = <2>; > > You might want to hook this up to a thermal-zone right away I am checking with our Thermal team on this. Will get back shortly. -Akhil. > > Konrad ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes 2024-10-30 7:02 ` [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio @ 2024-11-12 20:57 ` Akhil P Oommen 1 sibling, 0 replies; 14+ messages in thread From: Akhil P Oommen @ 2024-11-12 20:57 UTC (permalink / raw) To: Bjorn Andersson Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi, Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Connor Abbott On 10/30/2024 12:32 PM, Akhil P Oommen wrote: > From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > Add gpu and gmu nodes for sa8775p chipset. As of now all > SKUs have the same GPU fmax, so there is no requirement of > speed bin support. > > Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 +++++++++++++++++++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index e8dbc8d820a6..c6cb18193787 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -3072,6 +3072,100 @@ tcsr_mutex: hwlock@1f40000 { > #hwlock-cells = <1>; > }; > > + gpu: gpu@3d00000 { > + compatible = "qcom,adreno-663.0", "qcom,adreno"; > + reg = <0x0 0x03d00000 0x0 0x40000>, > + <0x0 0x03d9e000 0x0 0x1000>, > + <0x0 0x03d61000 0x0 0x800>; > + reg-names = "kgsl_3d0_reg_memory", > + "cx_mem", > + "cx_dbgc"; > + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; > + iommus = <&adreno_smmu 0 0xc00>, > + <&adreno_smmu 1 0xc00>; > + operating-points-v2 = <&gpu_opp_table>; > + qcom,gmu = <&gmu>; > + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; > + interconnect-names = "gfx-mem"; > + #cooling-cells = <2>; > + > + status = "disabled"; > + > + gpu_zap_shader: zap-shader { > + memory-region = <&pil_gpu_mem>; > + }; > + > + gpu_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-405000000 { > + opp-hz = /bits/ 64 <405000000>; > + opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; > + opp-peak-kBps = <5285156>; > + }; > + > + opp-676000000 { > + opp-hz = /bits/ 64 <676000000>; > + opp-level = <RPMH_REGULATOR_LEVEL_NOM>; > + opp-peak-kBps = <8171875>; > + }; > + > + opp-778000000 { > + opp-hz = /bits/ 64 <778000000>; > + opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; > + opp-peak-kBps = <10687500>; > + }; > + > + opp-800000000 { > + opp-hz = /bits/ 64 <800000000>; > + opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; > + opp-peak-kBps = <12484375>; > + }; > + }; > + }; > + > + gmu: gmu@3d6a000 { > + compatible = "qcom,adreno-gmu-663.0", "qcom,adreno-gmu"; > + reg = <0x0 0x03d6a000 0x0 0x34000>, > + <0x0 0x03de0000 0x0 0x10000>, > + <0x0 0x0b290000 0x0 0x10000>; > + reg-names = "gmu", "rscc", "gmu_pdc"; > + interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "hfi", "gmu"; > + clocks = <&gpucc GPU_CC_CX_GMU_CLK>, > + <&gpucc GPU_CC_CXO_CLK>, > + <&gcc GCC_DDRSS_GPU_AXI_CLK>, > + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, > + <&gpucc GPU_CC_AHB_CLK>, > + <&gpucc GPU_CC_HUB_CX_INT_CLK>, > + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>; > + clock-names = "gmu", > + "cxo", > + "axi", > + "memnoc", > + "ahb", > + "hub", > + "smmu_vote"; > + power-domains = <&gpucc GPU_CC_CX_GDSC>, > + <&gpucc GPU_CC_GX_GDSC>; > + power-domain-names = "cx", > + "gx"; > + iommus = <&adreno_smmu 5 0xc00>; > + operating-points-v2 = <&gmu_opp_table>; > + > + gmu_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-200000000 { > + opp-hz = /bits/ 64 <200000000>; > + opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; > + }; > + }; > + }; > + > + > gpucc: clock-controller@3d90000 { > compatible = "qcom,sa8775p-gpucc"; > reg = <0x0 0x03d90000 0x0 0xa000>; > Bjorn, Would it be possible to pick this patch for v6.13 or is it too late? We can ignore the dependency on the display change since we are not enabling GPU in this patch. -Akhil. ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2024-10-30 7:02 [PATCH v3 0/2] DRM/MSM: Support for Adreno 663 GPU Akhil P Oommen 2024-10-30 7:02 ` [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen @ 2024-10-30 7:02 ` Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio 2024-11-12 20:48 ` Akhil P Oommen 1 sibling, 2 replies; 14+ messages in thread From: Akhil P Oommen @ 2024-10-30 7:02 UTC (permalink / raw) To: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi, Akhil P Oommen From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> Enable GPU for sa8775p-ride platform and provide path for zap shader. Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi index 0c1b21def4b6..4901163df8f3 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi @@ -407,6 +407,14 @@ queue3 { }; }; +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/sa8775p/a663_zap.mbn"; +}; + &i2c11 { clock-frequency = <400000>; pinctrl-0 = <&qup_i2c11_default>; -- 2.45.2 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2024-10-30 7:02 ` [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU Akhil P Oommen @ 2024-10-31 20:30 ` Konrad Dybcio 2024-11-12 20:48 ` Akhil P Oommen 1 sibling, 0 replies; 14+ messages in thread From: Konrad Dybcio @ 2024-10-31 20:30 UTC (permalink / raw) To: Akhil P Oommen, Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 30.10.2024 8:02 AM, Akhil P Oommen wrote: > From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > Enable GPU for sa8775p-ride platform and provide path for zap > shader. > > Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2024-10-30 7:02 ` [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio @ 2024-11-12 20:48 ` Akhil P Oommen 2025-02-09 16:29 ` Dmitry Baryshkov 1 sibling, 1 reply; 14+ messages in thread From: Akhil P Oommen @ 2024-11-12 20:48 UTC (permalink / raw) To: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Dmitry Baryshkov, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 10/30/2024 12:32 PM, Akhil P Oommen wrote: > From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > Enable GPU for sa8775p-ride platform and provide path for zap > shader. > > Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > index 0c1b21def4b6..4901163df8f3 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > @@ -407,6 +407,14 @@ queue3 { > }; > }; > > +&gpu { > + status = "okay"; > +}; > + > +&gpu_zap_shader { > + firmware-name = "qcom/sa8775p/a663_zap.mbn"; > +}; > + > &i2c11 { > clock-frequency = <400000>; > pinctrl-0 = <&qup_i2c11_default>; > Bjorn, Please ignore this patch for now. This is probably not the right platform dtsi file where gpu should be enabled. I am discussing about this internally. Will send a revision or a new patch based on the conclusion. -Akhil. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2024-11-12 20:48 ` Akhil P Oommen @ 2025-02-09 16:29 ` Dmitry Baryshkov 2025-02-11 13:11 ` Akhil P Oommen 0 siblings, 1 reply; 14+ messages in thread From: Dmitry Baryshkov @ 2025-02-09 16:29 UTC (permalink / raw) To: Akhil P Oommen Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: > On 10/30/2024 12:32 PM, Akhil P Oommen wrote: > > From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > > > Enable GPU for sa8775p-ride platform and provide path for zap > > shader. > > > > Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > --- > > arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > > index 0c1b21def4b6..4901163df8f3 100644 > > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > > @@ -407,6 +407,14 @@ queue3 { > > }; > > }; > > > > +&gpu { > > + status = "okay"; > > +}; > > + > > +&gpu_zap_shader { > > + firmware-name = "qcom/sa8775p/a663_zap.mbn"; > > +}; > > + > > &i2c11 { > > clock-frequency = <400000>; > > pinctrl-0 = <&qup_i2c11_default>; > > > > Bjorn, > > Please ignore this patch for now. This is probably not the right > platform dtsi file where gpu should be enabled. I am discussing about > this internally. Will send a revision or a new patch based on the > conclusion. Akhil, any updates on this? -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2025-02-09 16:29 ` Dmitry Baryshkov @ 2025-02-11 13:11 ` Akhil P Oommen 2025-02-12 0:00 ` Dmitry Baryshkov 0 siblings, 1 reply; 14+ messages in thread From: Akhil P Oommen @ 2025-02-11 13:11 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 2/9/2025 9:59 PM, Dmitry Baryshkov wrote: > On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: >> On 10/30/2024 12:32 PM, Akhil P Oommen wrote: >>> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>> >>> Enable GPU for sa8775p-ride platform and provide path for zap >>> shader. >>> >>> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> >>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> >>> --- >>> arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>> index 0c1b21def4b6..4901163df8f3 100644 >>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>> @@ -407,6 +407,14 @@ queue3 { >>> }; >>> }; >>> >>> +&gpu { >>> + status = "okay"; >>> +}; >>> + >>> +&gpu_zap_shader { >>> + firmware-name = "qcom/sa8775p/a663_zap.mbn"; >>> +}; >>> + >>> &i2c11 { >>> clock-frequency = <400000>; >>> pinctrl-0 = <&qup_i2c11_default>; >>> >> >> Bjorn, >> >> Please ignore this patch for now. This is probably not the right >> platform dtsi file where gpu should be enabled. I am discussing about >> this internally. Will send a revision or a new patch based on the >> conclusion. > > Akhil, any updates on this? > I am still waiting for the discussion about QCS9075 board dts files [1] to conclude. [1] https://lore.kernel.org/lkml/Z3eMxl1Af8TOAQW%2F@hu-wasimn-hyd.qualcomm.com/T/ -Akhil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2025-02-11 13:11 ` Akhil P Oommen @ 2025-02-12 0:00 ` Dmitry Baryshkov 2025-02-12 7:18 ` Akhil P Oommen 0 siblings, 1 reply; 14+ messages in thread From: Dmitry Baryshkov @ 2025-02-12 0:00 UTC (permalink / raw) To: Akhil P Oommen Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On Tue, Feb 11, 2025 at 06:41:39PM +0530, Akhil P Oommen wrote: > On 2/9/2025 9:59 PM, Dmitry Baryshkov wrote: > > On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: > >> On 10/30/2024 12:32 PM, Akhil P Oommen wrote: > >>> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > >>> > >>> Enable GPU for sa8775p-ride platform and provide path for zap > >>> shader. > >>> > >>> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > >>> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > >>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > >>> --- > >>> arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ > >>> 1 file changed, 8 insertions(+) > >>> > >>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>> index 0c1b21def4b6..4901163df8f3 100644 > >>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>> @@ -407,6 +407,14 @@ queue3 { > >>> }; > >>> }; > >>> > >>> +&gpu { > >>> + status = "okay"; > >>> +}; > >>> + > >>> +&gpu_zap_shader { > >>> + firmware-name = "qcom/sa8775p/a663_zap.mbn"; > >>> +}; > >>> + > >>> &i2c11 { > >>> clock-frequency = <400000>; > >>> pinctrl-0 = <&qup_i2c11_default>; > >>> > >> > >> Bjorn, > >> > >> Please ignore this patch for now. This is probably not the right > >> platform dtsi file where gpu should be enabled. I am discussing about > >> this internally. Will send a revision or a new patch based on the > >> conclusion. > > > > Akhil, any updates on this? > > > > I am still waiting for the discussion about QCS9075 board dts files [1] > to conclude. > > [1] > https://lore.kernel.org/lkml/Z3eMxl1Af8TOAQW%2F@hu-wasimn-hyd.qualcomm.com/T/ Why? We currently have several boards supported. We can enable GPU on those as your patches are pretty fine. Then we can land Wasim's patches. Not to mention that the discussion seems to be dead, last message was sent almost a month ago. -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2025-02-12 0:00 ` Dmitry Baryshkov @ 2025-02-12 7:18 ` Akhil P Oommen 2025-02-12 10:56 ` Dmitry Baryshkov 0 siblings, 1 reply; 14+ messages in thread From: Akhil P Oommen @ 2025-02-12 7:18 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 2/12/2025 5:30 AM, Dmitry Baryshkov wrote: > On Tue, Feb 11, 2025 at 06:41:39PM +0530, Akhil P Oommen wrote: >> On 2/9/2025 9:59 PM, Dmitry Baryshkov wrote: >>> On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: >>>> On 10/30/2024 12:32 PM, Akhil P Oommen wrote: >>>>> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>>>> >>>>> Enable GPU for sa8775p-ride platform and provide path for zap >>>>> shader. >>>>> >>>>> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>>>> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> >>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> >>>>> --- >>>>> arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ >>>>> 1 file changed, 8 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>> index 0c1b21def4b6..4901163df8f3 100644 >>>>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>> @@ -407,6 +407,14 @@ queue3 { >>>>> }; >>>>> }; >>>>> >>>>> +&gpu { >>>>> + status = "okay"; >>>>> +}; >>>>> + >>>>> +&gpu_zap_shader { >>>>> + firmware-name = "qcom/sa8775p/a663_zap.mbn"; >>>>> +}; >>>>> + >>>>> &i2c11 { >>>>> clock-frequency = <400000>; >>>>> pinctrl-0 = <&qup_i2c11_default>; >>>>> >>>> >>>> Bjorn, >>>> >>>> Please ignore this patch for now. This is probably not the right >>>> platform dtsi file where gpu should be enabled. I am discussing about >>>> this internally. Will send a revision or a new patch based on the >>>> conclusion. >>> >>> Akhil, any updates on this? >>> >> >> I am still waiting for the discussion about QCS9075 board dts files [1] >> to conclude. >> >> [1] >> https://lore.kernel.org/lkml/Z3eMxl1Af8TOAQW%2F@hu-wasimn-hyd.qualcomm.com/T/ > > Why? We currently have several boards supported. We can enable GPU on > those as your patches are pretty fine. Then we can land Wasim's patches. > Not to mention that the discussion seems to be dead, last message was > sent almost a month ago. > sa8775p is an automotive-grade chipset which has a pretty different non-HLOS firmware. One of the major difference is that it has a SAFETY monitoring system (using SAIL IP block) which monitors different parameters like GPU frequency for eg and it takes control of the entire system when it detects an anomaly. That means we cannot use GPU DCVS, passive thermal mitigation etc there. QCS9075 uses the same SoC but has different NHLOS firmwares that has SAIL disabled to make it behave like our regular chipsets. I am aware of only QCS9075 boards' GPU spec at the moment. I don't know the complete details of the impact of SAIL/SAFE features on GPU and other specs yet, so I can't disturb sa8775p-ride/qcs9100-ride boards. I can see that Wazim is still discussing about board DTS internally. Hopefully he will send out another revision of his series soon. -Akhil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2025-02-12 7:18 ` Akhil P Oommen @ 2025-02-12 10:56 ` Dmitry Baryshkov 2025-02-13 16:51 ` Akhil P Oommen 0 siblings, 1 reply; 14+ messages in thread From: Dmitry Baryshkov @ 2025-02-12 10:56 UTC (permalink / raw) To: Akhil P Oommen Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On Wed, Feb 12, 2025 at 12:48:01PM +0530, Akhil P Oommen wrote: > On 2/12/2025 5:30 AM, Dmitry Baryshkov wrote: > > On Tue, Feb 11, 2025 at 06:41:39PM +0530, Akhil P Oommen wrote: > >> On 2/9/2025 9:59 PM, Dmitry Baryshkov wrote: > >>> On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: > >>>> On 10/30/2024 12:32 PM, Akhil P Oommen wrote: > >>>>> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > >>>>> > >>>>> Enable GPU for sa8775p-ride platform and provide path for zap > >>>>> shader. > >>>>> > >>>>> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> > >>>>> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > >>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > >>>>> --- > >>>>> arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ > >>>>> 1 file changed, 8 insertions(+) > >>>>> > >>>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>>>> index 0c1b21def4b6..4901163df8f3 100644 > >>>>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > >>>>> @@ -407,6 +407,14 @@ queue3 { > >>>>> }; > >>>>> }; > >>>>> > >>>>> +&gpu { > >>>>> + status = "okay"; > >>>>> +}; > >>>>> + > >>>>> +&gpu_zap_shader { > >>>>> + firmware-name = "qcom/sa8775p/a663_zap.mbn"; > >>>>> +}; > >>>>> + > >>>>> &i2c11 { > >>>>> clock-frequency = <400000>; > >>>>> pinctrl-0 = <&qup_i2c11_default>; > >>>>> > >>>> > >>>> Bjorn, > >>>> > >>>> Please ignore this patch for now. This is probably not the right > >>>> platform dtsi file where gpu should be enabled. I am discussing about > >>>> this internally. Will send a revision or a new patch based on the > >>>> conclusion. > >>> > >>> Akhil, any updates on this? > >>> > >> > >> I am still waiting for the discussion about QCS9075 board dts files [1] > >> to conclude. > >> > >> [1] > >> https://lore.kernel.org/lkml/Z3eMxl1Af8TOAQW%2F@hu-wasimn-hyd.qualcomm.com/T/ > > > > Why? We currently have several boards supported. We can enable GPU on > > those as your patches are pretty fine. Then we can land Wasim's patches. > > Not to mention that the discussion seems to be dead, last message was > > sent almost a month ago. > > > > sa8775p is an automotive-grade chipset which has a pretty different > non-HLOS firmware. One of the major difference is that it has a SAFETY > monitoring system (using SAIL IP block) which monitors different > parameters like GPU frequency for eg and it takes control of the entire > system when it detects an anomaly. That means we cannot use GPU DCVS, > passive thermal mitigation etc there. > > QCS9075 uses the same SoC but has different NHLOS firmwares that has > SAIL disabled to make it behave like our regular chipsets. I am aware of > only QCS9075 boards' GPU spec at the moment. I don't know the complete > details of the impact of SAIL/SAFE features on GPU and other specs yet, > so I can't disturb sa8775p-ride/qcs9100-ride boards. Ack, thanks for the explanation. Indeed, it would be interesting to understand how that's working together. Do SA8775P / QCS9100 use a different GMU firmware? > I can see that Wazim is still discussing about board DTS internally. > Hopefully he will send out another revision of his series soon. The discussion stopped a month ago. -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU 2025-02-12 10:56 ` Dmitry Baryshkov @ 2025-02-13 16:51 ` Akhil P Oommen 0 siblings, 0 replies; 14+ messages in thread From: Akhil P Oommen @ 2025-02-13 16:51 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Rob Clark, Sean Paul, Konrad Dybcio, Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Connor Abbott, linux-arm-msm, dri-devel, freedreno, linux-kernel, devicetree, Puranam V G Tejaswi On 2/12/2025 4:26 PM, Dmitry Baryshkov wrote: > On Wed, Feb 12, 2025 at 12:48:01PM +0530, Akhil P Oommen wrote: >> On 2/12/2025 5:30 AM, Dmitry Baryshkov wrote: >>> On Tue, Feb 11, 2025 at 06:41:39PM +0530, Akhil P Oommen wrote: >>>> On 2/9/2025 9:59 PM, Dmitry Baryshkov wrote: >>>>> On Wed, Nov 13, 2024 at 02:18:43AM +0530, Akhil P Oommen wrote: >>>>>> On 10/30/2024 12:32 PM, Akhil P Oommen wrote: >>>>>>> From: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>>>>>> >>>>>>> Enable GPU for sa8775p-ride platform and provide path for zap >>>>>>> shader. >>>>>>> >>>>>>> Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> >>>>>>> Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> >>>>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> >>>>>>> --- >>>>>>> arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 8 ++++++++ >>>>>>> 1 file changed, 8 insertions(+) >>>>>>> >>>>>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>>>> index 0c1b21def4b6..4901163df8f3 100644 >>>>>>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi >>>>>>> @@ -407,6 +407,14 @@ queue3 { >>>>>>> }; >>>>>>> }; >>>>>>> >>>>>>> +&gpu { >>>>>>> + status = "okay"; >>>>>>> +}; >>>>>>> + >>>>>>> +&gpu_zap_shader { >>>>>>> + firmware-name = "qcom/sa8775p/a663_zap.mbn"; >>>>>>> +}; >>>>>>> + >>>>>>> &i2c11 { >>>>>>> clock-frequency = <400000>; >>>>>>> pinctrl-0 = <&qup_i2c11_default>; >>>>>>> >>>>>> >>>>>> Bjorn, >>>>>> >>>>>> Please ignore this patch for now. This is probably not the right >>>>>> platform dtsi file where gpu should be enabled. I am discussing about >>>>>> this internally. Will send a revision or a new patch based on the >>>>>> conclusion. >>>>> >>>>> Akhil, any updates on this? >>>>> >>>> >>>> I am still waiting for the discussion about QCS9075 board dts files [1] >>>> to conclude. >>>> >>>> [1] >>>> https://lore.kernel.org/lkml/Z3eMxl1Af8TOAQW%2F@hu-wasimn-hyd.qualcomm.com/T/ >>> >>> Why? We currently have several boards supported. We can enable GPU on >>> those as your patches are pretty fine. Then we can land Wasim's patches. >>> Not to mention that the discussion seems to be dead, last message was >>> sent almost a month ago. >>> >> >> sa8775p is an automotive-grade chipset which has a pretty different >> non-HLOS firmware. One of the major difference is that it has a SAFETY >> monitoring system (using SAIL IP block) which monitors different >> parameters like GPU frequency for eg and it takes control of the entire >> system when it detects an anomaly. That means we cannot use GPU DCVS, >> passive thermal mitigation etc there. >> >> QCS9075 uses the same SoC but has different NHLOS firmwares that has >> SAIL disabled to make it behave like our regular chipsets. I am aware of >> only QCS9075 boards' GPU spec at the moment. I don't know the complete >> details of the impact of SAIL/SAFE features on GPU and other specs yet, >> so I can't disturb sa8775p-ride/qcs9100-ride boards. > > Ack, thanks for the explanation. Indeed, it would be interesting to > understand how that's working together. Do SA8775P / QCS9100 use a > different GMU firmware? We don't have a linux compatible GMU firmware for SA8775P yet. But it will be a common gmu fw between all three platforms. -Akhil. > >> I can see that Wazim is still discussing about board DTS internally. >> Hopefully he will send out another revision of his series soon. > > The discussion stopped a month ago. > ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2025-02-13 16:52 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-30 7:02 [PATCH v3 0/2] DRM/MSM: Support for Adreno 663 GPU Akhil P Oommen 2024-10-30 7:02 ` [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio 2024-11-01 14:46 ` Akhil P Oommen 2024-11-12 20:57 ` Akhil P Oommen 2024-10-30 7:02 ` [PATCH v3 2/2] arm64: dts: qcom: sa8775p-ride: Enable Adreno 663 GPU Akhil P Oommen 2024-10-31 20:30 ` Konrad Dybcio 2024-11-12 20:48 ` Akhil P Oommen 2025-02-09 16:29 ` Dmitry Baryshkov 2025-02-11 13:11 ` Akhil P Oommen 2025-02-12 0:00 ` Dmitry Baryshkov 2025-02-12 7:18 ` Akhil P Oommen 2025-02-12 10:56 ` Dmitry Baryshkov 2025-02-13 16:51 ` Akhil P Oommen
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).