aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAsahi Lina <lina@asahilina.net>2022-12-07 10:43:04 +0900
committerHector Martin <marcan@marcan.st>2022-12-08 14:37:29 +0900
commit67327f125801f98aec9e2cf5e1df16cf493a065f (patch)
tree0f553c76beaa1b897af3b34a3aee607eb64d6edf /arch
parent2aa48e294622f7204d02de9758795171c0bd937a (diff)
downloadlinux-67327f125801f98aec9e2cf5e1df16cf493a065f.tar.gz
arm64: dts: apple: t6002: Fix GPU power domains
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> Reviewed-by: Janne Grunau <j@jannau.net> Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/apple/t6002.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apple/t6002.dtsi b/arch/arm64/boot/dts/apple/t6002.dtsi
index 15da2c7eb1fe49..a963a5011799a0 100644
--- a/arch/arm64/boot/dts/apple/t6002.dtsi
+++ b/arch/arm64/boot/dts/apple/t6002.dtsi
@@ -294,3 +294,8 @@
};
};
};
+
+&ps_gfx {
+ // On t6002, the die0 GPU power domain needs both AFR power domains
+ power-domains = <&ps_afr>, <&ps_afr_die1>;
+};