From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Stephen Boyd <swboyd@chromium.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org
Subject: Re: [PATCH 1/4] ARM: dts: qcom: msm8974: add ocmem clock to GPU
Date: Mon, 8 May 2023 13:32:20 +0300 [thread overview]
Message-ID: <01fc4065-681f-daba-1c73-cc57768f880e@linaro.org> (raw)
In-Reply-To: <d357a6f9-d66b-0ba1-138c-4b541c3bebfb@linaro.org>
On 08/05/2023 13:28, Konrad Dybcio wrote:
>
>
> On 8.05.2023 12:24, Dmitry Baryshkov wrote:
>> On 08/05/2023 11:30, Konrad Dybcio wrote:
>>>
>>>
>>> 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 <dmitry.baryshkov@linaro.org>
>>>> ---
>>> 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?
>>
>> There is an RPM_SMD_OCMEMGX_CLK clk already, it is a bus clock for the ocmemnoc.
> It's wrong.
Can you possibly be more specific here?
On 8974 RPM_SMD_OCMEMGX_CLK is a core clock for ocmem and a bus clock
for ocmemnoc.
On 8994 this clocks is just a core clock for ocmem, there is no ocmemnoc.
>
> Konrad
>>
>>>
>>> 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>;
>>
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-05-08 10:33 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 19:07 [PATCH 0/4] ARM: dts: qcom: apq8074-dragonboard enable DSI and remoteproc Dmitry Baryshkov
2023-05-07 19:07 ` [PATCH 1/4] ARM: dts: qcom: msm8974: add ocmem clock to GPU Dmitry Baryshkov
2023-05-08 8:30 ` Konrad Dybcio
2023-05-08 10:24 ` Dmitry Baryshkov
2023-05-08 10:28 ` Konrad Dybcio
2023-05-08 10:32 ` Dmitry Baryshkov [this message]
2023-05-08 10:37 ` Konrad Dybcio
2023-05-07 19:07 ` [PATCH 2/4] ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled Dmitry Baryshkov
2023-05-08 8:32 ` Konrad Dybcio
2023-05-08 10:38 ` Dmitry Baryshkov
2023-05-07 19:07 ` [PATCH 3/4] ARM: dts: qcom: apq8074-dragonboard: enable adsp and MSS Dmitry Baryshkov
2023-05-08 8:33 ` Konrad Dybcio
2023-05-08 10:33 ` Dmitry Baryshkov
2023-05-08 10:38 ` Konrad Dybcio
2023-05-08 10:49 ` Dmitry Baryshkov
2023-05-08 18:01 ` Dmitry Baryshkov
2023-05-08 23:38 ` Dmitry Baryshkov
2023-05-09 8:13 ` Konrad Dybcio
2023-05-07 19:07 ` [PATCH 4/4] ARM: dts: qcom: apq8074-dragonboard: enable DSI panel Dmitry Baryshkov
2023-05-08 8:34 ` Konrad Dybcio
2023-05-08 10:33 ` Dmitry Baryshkov
2023-05-27 1:07 ` (subset) [PATCH 0/4] ARM: dts: qcom: apq8074-dragonboard enable DSI and remoteproc Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01fc4065-681f-daba-1c73-cc57768f880e@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sean@poorly.run \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).