From: Chen-Yu Tsai <wenst@chromium.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: airlied@gmail.com, tomeu.vizoso@collabora.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, steven.price@arm.com,
robh+dt@kernel.org, linux-mediatek@lists.infradead.org,
alyssa.rosenzweig@collabora.com,
krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com,
linux-arm-kernel@lists.infradead.org,
Fei Shao <fshao@chromium.org>, Nick Fan <Nick.Fan@mediatek.com>
Subject: Re: [PATCH 5/9] dt-bindings: gpu: mali-bifrost: Add a compatible for MediaTek MT8186
Date: Thu, 9 Feb 2023 17:45:22 +0800 [thread overview]
Message-ID: <CAGXv+5EhDGuzoBA9ZV2=3PVZ209eFq+wOOcTGVvG+gmOnf5txQ@mail.gmail.com> (raw)
In-Reply-To: <7784f5a2-3cfc-9999-0ad6-cb9cfc1f2822@collabora.com>
On Thu, Feb 9, 2023 at 5:20 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 09/02/23 09:49, Chen-Yu Tsai ha scritto:
> > On Wed, Feb 8, 2023 at 6:37 PM AngeloGioacchino Del Regno
> > <angelogioacchino.delregno@collabora.com> wrote:
> >>
> >> Get GPU support on MT8186 by adding its compatible.
> >
> > I'd skip MT8186 for now. We have to work out some binning details for the
> > OPP, in particular how to deal with both Panfrost (or Mali) and SVS adding
> > the OPP table. We were just looking at the Mali driver today.
> >
>
> Dealing with binning is fairly easy... I have something already done for
> that one, but I'm not sure that it would be the best option.
> My solution makes use of opp-supported-hw by "standard means", but perhaps
> let's have a separated conversation about it?
>
> I don't think that skipping this would give any benefit though, because
> that is only adding a compatible and whatever binning support would have
> to be generic and 99% not bound to any mediatek specific compatible.
The binning is related to voltage range, not maximum OPP. So it's more
like fast/slow example in Documentation/devicetree/bindings/opp/opp-v2.yaml
or the opp/allwinner,sun50i-h6-operating-points.yaml, minus the efuse node.
The downstream DT currently looks like this:
opp-950000000 {
opp-hz = /bits/ 64 <950000000>;
/* This is Mali specific; ignore
opp-hz-real = /bits/ 64 <950000000>,
/bits/ 64 <950000000>;
*/
opp-microvolt = <900000>, <1000000>;
opp-microvolt-bin4 = <875000>, <975000>;
opp-microvolt-bin5 = <850000>, <950000>;
};
ChenYu
next prev parent reply other threads:[~2023-02-09 9:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 10:37 [PATCH 0/9] Panfrost: Improve and add MediaTek SoCs support AngeloGioacchino Del Regno
2023-02-08 10:37 ` [PATCH 1/9] dt-bindings: gpu: mali-bifrost: Don't allow sram-supply by default AngeloGioacchino Del Regno
2023-02-09 2:50 ` Chen-Yu Tsai
2023-02-09 9:15 ` AngeloGioacchino Del Regno
2023-02-09 18:11 ` Rob Herring
2023-02-08 10:37 ` [PATCH 2/9] dt-bindings: gpu: mali-bifrost: Allow up to 5 power domains for MT8192 AngeloGioacchino Del Regno
2023-02-09 8:33 ` Chen-Yu Tsai
2023-02-09 9:17 ` AngeloGioacchino Del Regno
2023-02-09 18:13 ` Rob Herring
2023-02-08 10:37 ` [PATCH 3/9] dt-bindings: gpu: mali-bifrost: Add compatible for MT8195 SoC AngeloGioacchino Del Regno
2023-02-09 18:15 ` Rob Herring
2023-02-08 10:37 ` [PATCH 4/9] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible AngeloGioacchino Del Regno
2023-02-09 18:15 ` Rob Herring
2023-02-08 10:37 ` [PATCH 5/9] dt-bindings: gpu: mali-bifrost: Add a compatible for MediaTek MT8186 AngeloGioacchino Del Regno
2023-02-09 8:49 ` Chen-Yu Tsai
2023-02-09 9:20 ` AngeloGioacchino Del Regno
2023-02-09 9:45 ` Chen-Yu Tsai [this message]
2023-02-09 9:58 ` AngeloGioacchino Del Regno
2023-02-08 10:37 ` [PATCH 6/9] drm/panfrost: Increase MAX_PM_DOMAINS to 5 AngeloGioacchino Del Regno
2023-02-08 10:37 ` [PATCH 7/9] drm/panfrost: Add the MT8192 GPU ID AngeloGioacchino Del Regno
2023-02-08 10:37 ` [PATCH 8/9] drm/panfrost: Add mediatek,mt8192-mali compatible AngeloGioacchino Del Regno
2023-02-08 10:37 ` [PATCH 9/9] drm/panfrost: Add new compatible for Mali on the MT8183 SoC AngeloGioacchino Del Regno
2023-02-08 15:11 ` [PATCH 0/9] Panfrost: Improve and add MediaTek SoCs support Steven Price
2023-02-09 9:10 ` Chen-Yu Tsai
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='CAGXv+5EhDGuzoBA9ZV2=3PVZ209eFq+wOOcTGVvG+gmOnf5txQ@mail.gmail.com' \
--to=wenst@chromium.org \
--cc=Nick.Fan@mediatek.com \
--cc=airlied@gmail.com \
--cc=alyssa.rosenzweig@collabora.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fshao@chromium.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=steven.price@arm.com \
--cc=tomeu.vizoso@collabora.com \
/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).