From 0543f5ded33ae450d6543042fe6cf992727e11a8 Mon Sep 17 00:00:00 2001 From: Henrik Klee Date: Thu, 3 Dec 2026 07:59:47 +0800 Subject: [PATCH] arm64: dts: apple: t8020: Keep the GPU powered through system sleep The GPU's firmware cannot be restarted and the agx driver has no system sleep handling, so the power domain code switched ps_gfx off in s2idle. After the resume the firmware was gone: on the iPhone XR the first job after waking timed out ("render stuck in its TA job") and the desktop froze until a reboot. Keep the domain on until the driver can put the firmware to sleep. Assisted-by: LLM Signed-off-by: Henrik Klee --- arch/arm64/boot/dts/apple/t8020-pmgr.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8020-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8020-pmgr.dtsi index e92e1a6f571361..7b0b2b8ca9d1db 100644 --- a/arch/arm64/boot/dts/apple/t8020-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t8020-pmgr.dtsi @@ -821,6 +821,12 @@ #power-domain-cells = <0>; #reset-cells = <0>; label = "gfx"; + /* + * The GPU firmware cannot be restarted, and the driver does not + * put it to sleep: powered off in system sleep it was gone after + * the resume (the first job timed out, iPhone XR). + */ + apple,always-on; }; ps_isp_sys: power-controller@803a0 {