Skip to content

arm64: dts: apple: t6000-j316s: enable PMP - #1302

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
pmpvote/j316s-pmp
Nov 9, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
pmpvote/j316s-pmp

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Enable the PMP (APPLE_USE_PMP) on the J316s (16-inch M1 Pro), as the J314s already has it. The ANE, GPU (#1290), AVD (#1293) and JPEG (#1305) now send the PMP their performance requests, so every engine is as fast as or faster than with the PMP off. This changes a J316s user default, so it waits for DJ's review. Needs #1305.

Before / after (M1 Pro J316s, aura-try RAM-only trial with this DTB, integration test kernel with #1290 + #1293, 11-09; PMP-off rows from the same kernel on the configured Stage 2)

row PMP off PMP on (this PR + #1305)
GPU: glmark2 800x600 offscreen (score) 10002 / 10122 / 10193 12168 / 12224 / 12329 (+20%)
AVD H.264 1080p decode 63 fps 71 fps
AVD HEVC 1080p decode 62 fps 71 fps
AVD H.264 4K decode 16 fps 18 fps
AVD HEVC 4K decode 15 fps 17 fps
JPEG encode 1080p (NV12) 392 - 411 fps 383 - 408 fps (=)
JPEG encode 4K 118 - 119 fps 117 - 118 fps (=)
ANE MobileNet (H13, p50 / p99) 4.850 / 4.858 ms 3.678 / 3.693 ms (-24%), 206 -> 272 inferences/s
ANE, ANECOMP 20 s bench, MobileNet ring28 (p50 / p99, 1000 runs) 1.203 / 1.265 ms, 830/s 0.482 / 0.489 ms, 2072/s (2.5x); macOS Core ML on this Mac: 0.470 - 0.538 ms, so macOS parity
ANE, ANECOMP linkedl2 / classify-fused45 (p50) 1.630 / 1.645 ms 0.860 / 0.866 ms (1.9x)
Idle, SMC Total System Power (30 s) 3.93 W 3.90 W
Suspend/resume (FLEET suite: 6 systemd + 6 direct pm_test sleep cycles) 6 + 6 ok 6 + 6 ok, freezes=6 entries=6, ANE resume ok, 0 fail
SELinux / AVC denials Enforcing / 0 Enforcing / 0 (every PMP-on boot)
Kernel errors / oops / GPU faults 0 / 0 / 0 0 / 0 / 0
Camera, BT, Wi-Fi (FLEET suite) ok ok (equal)

Hardware decode output is bit-identical in every row (same frame md5). With the PMP off this kernel idles at 3.93 W. With the PMP and no engine votes (today's J314s profile without #1290/#1293/#1305), the GPU was -25%, AVD -40% and JPEG 4K -10%.

Notes:

  • Real s2idle is not yet tested on this Mac. The lab M1 Pro has no wake-capable RTC (the PMU RTC alarm, t600x: PMU RTC wake alarm (SPMI notify index, latch clear + DT) #1284, is an unproven draft), and no other wake source works without someone at the machine. So the lab can't wake it from s2idle, and the rows above come from pm_test cycles. The real s2idle check needs one keypress from Ryan: boot the PMP-on trial, systemctl suspend, press a key, then check display/DCP, Wi-Fi, NVMe, USB, AVD, GPU and ANE plus idle power. It is queued in the lab's morning list, and the result will be added here. The same PMP profile on the J314s was s2idle-qualified in ec1ce6e (2.27 W in s2idle, 10/10 timed wakes).
  • FLEET flagged these units, none of them the PMP's: the trial-only aurora-stage2-commit; speakerguardd-v2-switchtest, which also fails on the PMP-off boot of the same integration test kernel; and geoclue.

Per-row raw logs: lane PMPVOTE windows 2-4 (out-w*-*.txt).

🤖 Generated with Claude Code

Let m1n1 start the PMP on the 16-inch M1 Pro, as on the J314s: the ANE,
GPU and AVD now send it their performance requests. Same session, PMP off
against on (aura-try RAM-only trial, this DTB):

  glmark2 800x600 offscreen   10002 - 10193 -> 12079 - 12187 (+20%)
  AVD 1080p / 4K decode       62 - 63 / 15 - 16 fps -> 71 - 72 / 17 - 18 fps
  ANE MobileNet               4.85 ms -> 3.67 ms
  idle, Total System Power    3.93 W -> 3.76 W
  JPEG encode 1080p           392 - 411 fps -> 387 - 405 fps
  JPEG encode 4K              118 - 119 fps -> 107 fps (-10%)

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
@RyanTheTide
RyanTheTide changed the base branch from pmpvote/t6000-media-votes to integration/aurora November 9, 2026 08:37
@RyanTheTide RyanTheTide changed the title arm64: dts: apple: t6000-j316s: enable PMP (draft: JPEG 4K -10% left) arm64: dts: apple: t6000-j316s: enable PMP Nov 9, 2026
@RyanTheTide
RyanTheTide marked this pull request as ready for review November 9, 2026 09:09
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Here is ANECOMP's 20 s H13 ANE bench, run on 11-09 at 20:53. PMP off is the configured boot (fleet44). PMP on is this PR's DTB (with #1305), booted as an aura-try RAM-only trial on the integration test kernel. Each row is 1000 runs:

program PMP off p50 / p99 PMP on p50 / p99 throughput
ring28 1203 / 1265 us 482 / 489 us 830 -> 2072 /s (2.5x)
linkedl2 1630 / 1657 us 860 / 876 us 613 -> 1161 /s (1.9x)
classify-fused45 1645 / 1667 us 866 / 887 us 608 -> 1152 /s (1.9x)

Both runs: 0 errors, ANE not wedged.

@RyanTheTide
RyanTheTide merged commit f4b6890 into integration/aurora Nov 9, 2026
@RyanTheTide

RyanTheTide commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Real s2idle on the J316s with PMP on

Kernel: integration f4b6890 (this PR) plus the t600x PMU RTC alarm series (rtc/t600x-pmu-alarm-int4) and a lab-only watchdog-in-suspend patch. DTB: t6000-j316s.dtb from the same tree, so the PMP is on and rtc1 is the PMU alarm. Wake source: rtcwake -d rtc1 -m freeze.

check result
PMP firmware up, fabric/DCS managed by the PMP
awake alarms (x2) each raised the RTC interrupt once
real s2idle, 15 s, 5 cycles 5/5 woke on the RTC interrupt at 15.35-15.96 s; suspend_stats 5 ok / 0 fail
after each wake Wi-Fi connected, NVMe live, Bluetooth powered, ANE and GPU present, no new kernel errors
idle power (SMC Total System Power, 30 s) 3.45 W before the sleeps, 3.43 W after
regression suite: PMP off (fleet44 9ff031a + the same RTC series) vs PMP on (this tree) s2idle_rtc 3/0 on both; glmark2 9732 -> 12169 (+25%); camera, ANE (incl. resume), AVD, GPU faults, Wi-Fi/BT reconnect, 6+6 pm_test sleeps equal; 0 AVC, enforcing

Not caused by the PMP, and the same on the PMP-off run: a trackpad error (magicmouse ...: unable to request touch data (-19)) when sleeps follow each other within ~30 ms, and the one-off boot-time SPI HID get-report timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant