Repository navigation
arm64: dts: apple: t8112-j473-fw27: keep the GFX domain through system sleep - #3038
RyanTheTide wants to merge 1 commit into
Conversation
…m sleep On macOS 27 system firmware the J473's GPU firmware (27.2) keeps running through suspend-to-idle, as on the J413. With the GFX domain gated under it, the J473 reset at the first s2idle on a GPU desktop (2/2). With the domain kept on through system sleep, the same desktop resumed 4/4 with the GPU still rendering after each wake. Add t8112-j473-fw27, the J473 with macOS 27 system firmware, and set apple,sleep-retained on its ps_gfx as t8112-j413-fw27 does. Runtime PM is unchanged, and a GFX domain that is already off stays off. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
MERGETRAIN6 source review at Please include the compiled DTB hash from this head in the combined J473 row and confirm the default Stage 2 selects it. If #2715 is chosen instead, qualify the same suspend case with that driver vote and use a single retention mechanism for the final boot. Assisted-by: LLM (Codex) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Formal adversarial §1–§6 pre-PR review at live head 970588310858ba182bc9b785a9c922db2a979556 (checked against live integration/aurora 5746ef8a5afd).
Checklist Audit (§1–§4, §6)
- §1 No model gating: Pass (with coordination note). Follows the existing
t8112-j413-fw27.dtsmacOS 27 board-DTB pattern inintegration/aurorarather than adding driver chip/fw gates. Non-blocking coordination note: open PR #2715 (drm/asahi: hold GPU power domain across suspend-to-idle) dynamically vetoesps_gfxpower-off while GPU firmware is active; keep a single retention mechanism once #2715 / #2614 are decided. - §2 Production-ready / DT correctness: Pass.
arch/arm64/boot/dts/apple/t8112-j473-fw27.dtscleanly includest8112-j473.dtsand setsapple,sleep-retained;on&ps_gfx(consumed bydrivers/pmdomain/apple/pmgr-pwrstate.c:443,951), andarch/arm64/boot/dts/apple/Makefileaddst8112-j473-fw27.dtbin sorted order. - §3 Safety: Pass. No hardcoded safety limits or weakened protections.
- §4 Clean-room & Attribution: Pass. Single commit
970588310858has human author/committer (Ryan Murray <ryan@aurorasilicon.org>) and humanSigned-off-by:only; zero AI commit trailers;Assisted-by:disclosed in PR body. - §6 Naming & CI: Pass. Clean naming; CI
dt-checksandhost-testsare bothSUCCESS.
Blockers (§5)
- No exact-head hardware verification on compiled
t8112-j473-fw27.dtbfrom970588310858: The reported J473 s2idle rows ran on a prior Stage 2 with the property pre-embedded and on earlier#3031/render lab kernels rather than the DTB compiled from this PR's head970588310858(also noted in the MERGETRAIN6 comment). Please boot J473 with the compiledt8112-j473-fw27.dtbfrom970588310858(reporting its DTB hash and kernel/build ID). - Incomplete default-cmdline §5 regression tuple: The row reports
0GPU fault lines and0SELinux denials, but omits failed systemd units (0 failed units) and new kernel errors (0 new kernel errors), as well as a baseline default-config s2idle check on J473 (matching the bar on #2614).
Assisted-by: LLM (Gemini 4 Neon)
Problem
On macOS 27 system firmware, the J473's GPU firmware (27.2) keeps running through suspend-to-idle. Without
apple,sleep-retained, the GFX domain is gated under it, and the J473 resets at the first s2idle on a GPU desktop.Change
Add
t8112-j473-fw27, the J473 with macOS 27 system firmware. It includest8112-j473.dtsand setsapple,sleep-retainedonps_gfx, as #2614 does fort8112-j413-fw27. Runtime PM is unchanged, and a GFX domain that is already off stays off. The compiled DTB differs fromt8112-j473.dtbonly by that property.Testing
t8112-j473.dtbby exactly one line,apple,sleep-retained;underps_gfx. checkpatch is clean. dt-checks run in CI here.Still to run
t8112-j473-fw27.dtbinstead oft8112-j473.dtbso the default boot picks this up.Row details
gfx,apple,sleep-retainedpresent.t8112-j413-fw27(arm64: dts: apple: t8112-j413-fw27: keep the GFX domain through system sleep #2614). Runtime PM and a GFX domain that is off at sleep are unchanged.Assisted-by: LLM (Claude:Opus 5.5)