Skip to content

arm64: dts: apple: t6000: request PMP performance for the scaler and ProRes - #1507

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
m1pgap/t6000-msr-scodec-pmp
Nov 11, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
m1pgap/t6000-msr-scodec-pmp

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

The T6000 scaler (MSR0, report@12) and ProRes codec (SCODEC, report@14) PMP report entries were disabled, so with APPLE_USE_PMP the two engines never sent a performance request.

  • Enable both entries with apple,adt-dvfs; the bootloader fills apple,dvfs / apple,dvfs-request-levels from the ADT (kboot: hand Linux the scaler and ProRes PMP performance requests from the ADT aura#156), as for the encoder, AVD and JPEG.
  • Power scaler@40b000000 through pmp_report_msr0 (+ ps_msr0_ase_core) and video-codec@311000000 through pmp_report_scodec. Without APPLE_USE_PMP both keep their PMGR domains.
  • Both entries are off while the engines are runtime suspended.

j316s, fleet59 kernel, aura-try RAM trial (aura#156 Stage 2 + this DTB) vs the production boot, same session:

row production this change
msrv4l2 1080p job (5 cases, best) 2.35-2.39 ms (argb->nv12 2.16) 1.38-1.43 ms (argb->nv12 1.39-1.40)
msrv4l2 correctness PASS, max err <= 1 PASS, max err <= 1
ProRes 422 encode 1080p p2 1597 fps 1618 fps
ProRes 422 encode 2160p p3 401.2 fps 402.5 fps
ProRes bytes/frame 286316 / 1303675 286316 / 1303675
fleet quick suite vs fleet59 - no regression (glmark +1.0%, 0 AVC, 0 kernel errors, 0 failed units)

Filled values on the trial: report@12 apple,dvfs = <0x113 0>, levels <0x21 3>; report@14 <0x115 0>, levels <0x21 2>. With a bootloader that predates aura#156 the two entries probe without a level and send only the device request: same kernel and DTB on the current aura Stage 2, msrv4l2 2.14-2.20 ms (argb->nv12 1.39-1.43 ms), ProRes 1602-1605 / 401.2-401.7 fps, fleet quick suite no regression (glmark +2.9%).

🤖 Generated with Claude Code

…ProRes

The scaler (MSR0) and the ProRes codec (SCODEC) have PMP report entries
of their own, but both were disabled, so with the PMP running the two
engines never sent a performance request and ran at whatever level the
rest of the SoC asked for.

Enable both entries with apple,adt-dvfs, so the bootloader fills their
SOC-DEV-DVFS slot and levels from the ADT as it does for the encoder,
AVD and JPEG, and power the scaler and the ProRes codec through them.
Without the PMP the engines keep their PMGR domains.

On a j316s with the PMP running, a 1080p scaler job (msrv4l2) takes
1.38-1.43 ms instead of 2.35-2.39 ms, and ProRes 422 encode goes from
1597 to 1618 fps at 1080p and from 401 to 402 fps at 2160p. Both
entries are off while the engines are idle.

Assisted-by: LLM
Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
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