Repository navigation
arm64: dts: apple: t6000: request PMP performance for the scaler and ProRes - #1507
Merged
Merged
Conversation
…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>
This was referenced Nov 11, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The T6000 scaler (MSR0, report@12) and ProRes codec (SCODEC, report@14) PMP report entries were disabled, so with
APPLE_USE_PMPthe two engines never sent a performance request.apple,adt-dvfs; the bootloader fillsapple,dvfs/apple,dvfs-request-levelsfrom the ADT (kboot: hand Linux the scaler and ProRes PMP performance requests from the ADT aura#156), as for the encoder, AVD and JPEG.scaler@40b000000throughpmp_report_msr0(+ps_msr0_ase_core) andvideo-codec@311000000throughpmp_report_scodec. WithoutAPPLE_USE_PMPboth keep their PMGR domains.j316s, fleet59 kernel, aura-try RAM trial (aura#156 Stage 2 + this DTB) vs the production boot, same session:
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