From: Hector Martin <marcan@marcan.st>
To: Asahi Lina <lina@asahilina.net>, Sven Peter <sven@svenpeter.dev>,
Alyssa Rosenzweig <alyssa@rosenzweig.io>,
Janne Grunau <j@jannau.net>
Cc: Marc Zyngier <maz@kernel.org>,
asahi@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: apple: t6002: Fix GPU power domains
Date: Thu, 8 Dec 2022 14:38:45 +0900 [thread overview]
Message-ID: <751ec272-e5cd-65a8-cf26-d37aade972ac@marcan.st> (raw)
In-Reply-To: <20221207014305.21018-1-lina@asahilina.net>
On 07/12/2022 10.43, Asahi Lina wrote:
> On t6002 (M1 Ultra), each die contains a self-contained GPU block.
> However, only the coprocessor and global management circuitry of the
> first die are used. This is what is represented by the "gpu" PS (the
> one in die1 is disabled). Nonetheless, this shared component drives the
> processing blocks in both dies, and therefore depends on the AFR fabric
> being powered up on both dies.
>
> Add an explicit dependency from the GPU block on die0 to AFR on die1,
> next to the existing die0 AFR dependency.
>
> Fixes: fa86294eb355 ("arm64: dts: apple: Add initial t6000/t6001/t6002 DTs")
> Signed-off-by: Asahi Lina <lina@asahilina.net>
> ---
> arch/arm64/boot/dts/apple/t6002.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/apple/t6002.dtsi b/arch/arm64/boot/dts/apple/t6002.dtsi
> index 1376103b49c6..8fa2d8dd72ff 100644
> --- a/arch/arm64/boot/dts/apple/t6002.dtsi
> +++ b/arch/arm64/boot/dts/apple/t6002.dtsi
> @@ -296,3 +296,8 @@ &cpu_p20 &cpu_p21 &cpu_p22 &cpu_p23
> };
> };
> };
> +
> +&ps_gfx {
> + // On t6002, the die0 GPU power domain needs both AFR power domains
> + power-domains = <&ps_afr>, <&ps_afr_die1>;
> +};
Thanks, applied both patches to asahi-soc/dt!
- Hector
prev parent reply other threads:[~2022-12-08 5:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 1:43 [PATCH] arm64: dts: apple: t6002: Fix GPU power domains Asahi Lina
2022-12-07 1:43 ` [PATCH] arm64 dts: apple: t600x-pmgr: Fix search & replace typo Asahi Lina
2022-12-07 6:41 ` Janne Grunau
2022-12-07 6:40 ` [PATCH] arm64: dts: apple: t6002: Fix GPU power domains Janne Grunau
2022-12-08 5:38 ` Hector Martin [this message]
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=751ec272-e5cd-65a8-cf26-d37aade972ac@marcan.st \
--to=marcan@marcan.st \
--cc=alyssa@rosenzweig.io \
--cc=asahi@lists.linux.dev \
--cc=devicetree@vger.kernel.org \
--cc=j@jannau.net \
--cc=lina@asahilina.net \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=sven@svenpeter.dev \
/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).