Repository navigation
Conversation
The J716s file was the J714s file apart from the panel node. Move the chip-level display and GPU nodes into t6050-j714s-j716s-gpu.dtsi and keep only each board's panel in its gpu-panel file; the J714s DTB is unchanged. Drop the J716s panel's fixed apple,max-brightness: the loader's T6050 display handoff supplies the backlight ceiling from the ADT, as on the J714s. Say that the panel dimensions are computed from 254.6 ppi. The GPU mailboxes replace the gfx_asc and gfx1_asc inventory nodes, so point the J716s ADT coverage manifest at /soc/mailbox@2302600000 and /soc/mailbox@2302e00000; dt-checks failed on the absent /soc/gpu-coproc@2302e00000. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Keep the shared J714s/J716s GPU description and retain main's G17S OPP include in the J714s board file, where it was qualified. Signed-off-by: DjDeveloperr <hey@djdev.me>
The J716s had no GPU or internal-panel nodes, so the loader's display and GPU handoff refused it (no dcp, disp0 or gpu alias) and Linux stayed on the boot framebuffer. Add t6050-j716s-gpu-panel.dtsi after t6050-j714s-gpu-panel.dtsi: the chip-level nodes (sgx, the GFX and GFX1 ASCs, the dart-dcp and dart-disp0 windows, clocks), each checked against the J716sAP 27.2 (26B123) ADT, where they match the J714s's, and the J716s's own 16-inch 3456x2234 mini-LED panel. Everything stays disabled until the loader enables it. Seen on one J716s (27.2 stub) with omarchy-m5's v272-17 kernel and a J716s GPU board entry in the driver: apple-dcp drives the panel at 3456x2234 with backlight control, the GPU driver registers, and the panel comes back after lid sleep. The GPU also needs the driver's J716s board support (aurora-silicon#1173); this only describes the hardware. Signed-off-by: Julian Arango <julianarango1818@gmail.com>
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Main added the J716s's left-back USB4 router (ATC0) and the right port's router and DP tunnels after the camera include in t6050-j716s.dts, where this branch includes t6050-j716s-gpu-panel.dtsi. Both stay, the GPU and panel include last. The J714s DTB builds byte-identical to main's. Signed-off-by: Julian Arango <julianarango1818@gmail.com>
In suspend-to-idle the GPU driver leaves its firmware running; it stops it only for a firmware sleep. On the J716s nothing holds GFX, the power domain of sgx and both GFX mailboxes, so genpd powered it off in each sleep attempt's noirq step and on again in the resume. On one J716s about twenty such cycles went through and the next crashed both GPU coprocessors (RTKit PC 0, "GPU firmware (Primary) crashed, device lost"); every later attempt then logged "PS gfx: Failed to reach power state". Mark ps_gfx always-on, as t6050-j714s-sleep.dtsi and t6050-k116s-sleep.dtsi do. With it the same J716s, on omarchy-m5's v272-17 kernel, slept 8.7 h with the lid closed in one s2idle cycle; GFX never powered off and the GPU came back without a fault. Signed-off-by: Julian Arango <julianarango1818@gmail.com>
|
Tested: J716s (MacBook Pro 16-inch, M5 Pro, Evidence
|
|
A data point for this change. It is not a row at J716s (MacBook Pro 16-inch, M5 Pro), macOS 27.2 (26B123) stub. Kernel linux-aurora 7.3.0.aurora1-53 with #4284, and #4300 applied to the DT. The audio of #4349 was in the DT too.
So the property alone is what took the freeze away here. I can run the lid-sleep row on a build of this head if that helps. |
|
Thanks, that before/after helps: the freeze without the property and none with it. Yes please: a longer lid sleep at |
|
More lid sleeps on the same tree as my first comment, not yet at
The failed one left nothing. Boot A's journal ends at Next I will boot the DTB of |
What: In suspend-to-idle the GPU driver keeps its firmware running, and nothing on the J716s holds GFX, the power domain of sgx and both GFX mailboxes, so genpd power-cycles it in each sleep attempt's noirq step. On one J716s about twenty such cycles went through and the next crashed both GPU coprocessors. This marks ps_gfx always-on, as the J714s and K116s sleep trees do. It follows #4189 (merged), which added the J716s GPU description.
Tested: pending at 37fc510: a J716s lid sleep with the GPU up (s2idle entry and exit, suspend_stats, GFX genpd usage, the GPU after the resume). Earlier, on a J716s build of omarchy-m5's v272-17 kernel with the same property: 8.7 h in one s2idle cycle with the lid closed, woken by the lid, GFX never powered off, the GPU back without a fault. Without it, the GPU firmware crashed during repeated sleep attempts.
Risk: two-way door · J716s only
Not yet: the lid-sleep row at this head.