On 7.05.2023 21:07, Dmitry Baryshkov wrote:
> To get GPU working with the OCMEM, the oxili_ocmemgx_clk clock should be
> enabled. Pass it to the GPU to get it to work on apq8074/msm8974 boards.
>
> Fixes: fe079442db63 ("ARM: dts: qcom: msm8974: add gpu support")
> Signed-off-by: Dmitry Baryshkov <[email protected]>
> ---
Uhh.. this clock should be managed by RPM with:
type = MEM
id = 2
just like it's defined for 8994 today.
Could you try adding it in rpmcc and confirming?
Konrad
> arch/arm/boot/dts/qcom-msm8974.dtsi | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi
> b/arch/arm/boot/dts/qcom-msm8974.dtsi
> index 834ad95515b1..fb661c1bd3d5 100644
> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi
> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
> @@ -2104,8 +2104,9 @@ gpu: adreno@fdb00000 {
>
> clocks = <&mmcc OXILI_GFX3D_CLK>,
> <&mmcc OXILICX_AHB_CLK>,
> + <&mmcc OXILI_OCMEMGX_CLK>,
> <&mmcc OXILICX_AXI_CLK>;
> - clock-names = "core", "iface", "mem_iface";
> + clock-names = "core", "iface", "mem", "mem_iface";
>
> sram = <&gmu_sram>;
> power-domains = <&mmcc OXILICX_GDSC>;
- Re: [Freedreno] [PATCH 3/4] ARM: dts: qcom: apq8... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 3/4] ARM: dts: qcom: ... Konrad Dybcio
- Re: [Freedreno] [PATCH 3/4] ARM: dts: qc... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 3/4] ARM: dt... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 3/4] ARM... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 3/4] ARM... Konrad Dybcio
- [Freedreno] [PATCH 4/4] ARM: dts: qcom: apq8074-dragonboa... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 4/4] ARM: dts: qcom: apq8074-... Konrad Dybcio
- Re: [Freedreno] [PATCH 4/4] ARM: dts: qcom: apq8... Dmitry Baryshkov
- [Freedreno] [PATCH 1/4] ARM: dts: qcom: msm8974: add ocme... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 1/4] ARM: dts: qcom: msm8974:... Konrad Dybcio
- Re: [Freedreno] [PATCH 1/4] ARM: dts: qcom: msm8... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 1/4] ARM: dts: qcom: ... Konrad Dybcio
- Re: [Freedreno] [PATCH 1/4] ARM: dts: qc... Dmitry Baryshkov
- Re: [Freedreno] [PATCH 1/4] ARM: dt... Konrad Dybcio
- Re: [Freedreno] (subset) [PATCH 0/4] ARM: dts: qcom: apq8... Bjorn Andersson
