mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Abhinav Kumar <quic_abhinavk@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Bjorn Andersson <quic_bjorande@quicinc.com>,
	Douglas Anderson <dianders@chromium.org>,
	Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	Marijn Suijten <marijn.suijten@somainline.org>,
	"David Airlie" <airlied@gmail.com>,
	Daniel Vetter <daniel@ffwll.ch>,
	<cros-qcom-dts-watchers@chromium.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	<linux-arm-msm@vger.kernel.org>,
	<dri-devel@lists.freedesktop.org>,
	<freedreno@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
	<devicetree@vger.kernel.org>
Subject: Re: [PATCH 3/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode
Date: Thu, 22 Feb 2024 10:32:06 -0800	[thread overview]
Message-ID: <4de8626d-7dc6-42af-85ea-60e6670aef72@quicinc.com> (raw)
In-Reply-To: <CAA8EJporaUuddHHqpyYHiYSu=toHmrDxSHf9msZUJoym4Nz72g@mail.gmail.com>



On 2/22/2024 1:46 AM, Dmitry Baryshkov wrote:
> On Thu, 22 Feb 2024 at 11:28, Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>
>>
>>
>> On 2/22/24 10:04, Dmitry Baryshkov wrote:
>>> On Thu, 22 Feb 2024 at 10:56, Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>>>
>>>>
>>>>
>>>> On 2/22/24 00:41, Dmitry Baryshkov wrote:
>>>>> On Thu, 22 Feb 2024 at 01:19, Bjorn Andersson <quic_bjorande@quicinc.com> wrote:
>>>>>>
>>>>>> The max frequency listed in the DPU opp-table is 506MHz, this is not
>>>>>> sufficient to drive a 4k@60 display, resulting in constant underrun.
>>>>>>
>>>>>> Add the missing MDP_CLK turbo frequency of 608MHz to the opp-table to
>>>>>> fix this.
>>>>>
>>>>> I think we might want to keep this disabled for ChromeOS devices. Doug?
>>>>
>>>> ChromeOS devices don't get a special SoC
>>>
>>> But they have the sc7280-chrome-common.dtsi, which might contain a
>>> corresponding /delete-node/ .
>>
>> What does that change? The clock rates are bound to the
>> SoC and the effective values are limited by link-frequencies
>> or the panel driver.
> 
> Preventing the DPU from overheating? Or spending too much power?
> 

Running DPU clock in turbo is a requirement to support 4k@60 otherwise 
the pixel rate that high cannot be supported.

sc7280 chrome devices already limit to HBR2

https://lore.kernel.org/all/20230329233416.27152-1-quic_abhinavk@quicinc.com/

So the DPU will not vote more than nominal.

And like others wrote, limiting SOC frequencies is not the way and we 
should filter out required frequencies using link-frequencies.

Hence fwiw, I am fine with this change.


Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>


  parent reply	other threads:[~2024-02-22 18:32 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 23:19 [PATCH 0/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable two displays Bjorn Andersson
2024-02-21 23:19 ` [PATCH 1/9] drm/msm/dp: Add DP support to combo instance in SC7280 Bjorn Andersson
2024-02-21 23:38   ` Dmitry Baryshkov
2024-02-22  3:47     ` Bjorn Andersson
2024-02-22  4:01       ` Dmitry Baryshkov
2024-02-22 21:25         ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 2/9] arm64: dts: qcom: sc7280: Make eDP/DP controller default DP Bjorn Andersson
2024-02-21 23:43   ` Dmitry Baryshkov
2024-02-22  8:55   ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 3/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode Bjorn Andersson
2024-02-21 23:41   ` Dmitry Baryshkov
2024-02-22  8:56     ` Konrad Dybcio
2024-02-22  9:04       ` Dmitry Baryshkov
2024-02-22  9:28         ` Konrad Dybcio
2024-02-22  9:46           ` Dmitry Baryshkov
2024-02-22 10:02             ` Konrad Dybcio
2024-02-22 15:04             ` Bjorn Andersson
2024-02-22 17:32               ` Dmitry Baryshkov
2024-02-26 15:56                 ` Doug Anderson
2024-02-22 18:32             ` Abhinav Kumar [this message]
2024-02-22  8:56   ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 4/9] arm64: dts: qcom: qcs6490-rb3gen2: Add DP output Bjorn Andersson
2024-02-21 23:46   ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 5/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable adsp and cdsp Bjorn Andersson
2024-02-21 23:42   ` Dmitry Baryshkov
2024-02-21 23:19 ` [PATCH 6/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB role switching Bjorn Andersson
2024-02-21 23:50   ` Dmitry Baryshkov
2024-02-22  3:51     ` Bjorn Andersson
2024-02-22 16:11   ` Krishna Kurapati PSSNV
2024-02-21 23:19 ` [PATCH 7/9] arm64: dts: qcom: qcs6490-rb3gen2: Introduce USB redriver Bjorn Andersson
2024-02-21 23:50   ` Dmitry Baryshkov
2024-02-22  8:58   ` Konrad Dybcio
2024-02-21 23:19 ` [PATCH 8/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB Type-C display Bjorn Andersson
2024-02-22  9:33   ` neil.armstrong
2024-02-21 23:19 ` [PATCH 9/9] arm64: defconfig: Enable sc7280 display and gpu clock controllers Bjorn Andersson
2024-02-21 23:43   ` Dmitry Baryshkov

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=4de8626d-7dc6-42af-85ea-60e6670aef72@quicinc.com \
    --to=quic_abhinavk@quicinc.com \
    --cc=airlied@gmail.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=dmitry.baryshkov@linaro.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=linux-kernel@vger.kernel.org \
    --cc=marijn.suijten@somainline.org \
    --cc=quic_bjorande@quicinc.com \
    --cc=robdclark@gmail.com \
    --cc=robh@kernel.org \
    --cc=sean@poorly.run \
    /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

all inboxes | Powered by JetHome®