Skip to content

arm64: dts: apple: t6041-j575c: enable the first ProRes engine (apr0) - #3150

Merged
RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
7robertodantas:j575c-prores-apr0
Nov 25, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
7robertodantas:j575c-prores-apr0

Conversation

@7robertodantas

@7robertodantas 7robertodantas commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What: Enable the first ProRes encoder (apr0), its DART and its power domains on the J575c (Mac Studio, M4 Max), as #3027 does on the J616c. DT-only; apr1 is left to #2661.
Tested: J575c at 7360cf0: apr0 probes, all 6 profiles at 1080p and 3 at 4K encode and decode with ffmpeg (byte counts equal to the J616c's in #3027), runtime-suspended when idle; 0 failed units, 0 new kernel errors.
Risk: two-way door · J575c only (t6041-j575c.dts).
Not yet: nothing.

Details

t6041.dtsi describes apr0 and its DART. The J575c's ADT (macOS 27.2.1) has apr0 (core 0x301000000, wrapper 0x300000000, aux 0x3010c0000, IRQ 1960) and dart-apr0 (0x301020000, IRQ 1959, stream 1) at those values, and its PMGR has FAB1_SOC, SCODEC and SCODEC_STREAMING at 0x2d0, 0x328 and 0x330. The driver uses its built-in T6041 power-up rows, as on the J616c.

Checks: checkpatch --strict 0/0/0; dt-validate on t6041-j575c.dtb with all bindings: no warnings.

Evidence

Exact-head standalone boot: kernel 7.3.0-1-114 built from main a73023b (this PR's base), stock command line; DT = t6041-j575c.dtb built by the kernel's make from 7360cf0 (sha256 efd31854...), one-shot trial Stage 2. Against the base DTB, the only changes are the status of the 5 nodes above.

apple-prores 301000000.video-codec: ProRes encoder, id 0x40008. One ffmpeg testsrc2 frame per run through v4l2-ctl, decoded by ffmpeg (-f image2 -c:v prores), PSNR against the input:

Input Profile Bytes PSNR (dB)
1080p NV16 Proxy 96,478 40.76
1080p NV16 LT 219,116 60.85
1080p NV16 Standard 280,638 65.86
1080p NV16 HQ 378,194 74.30
1080p NV24 4444 574,774 73.04
1080p NV24 4444 XQ 597,815 73.89
2160p NV16 Standard 960,684 66.49
2160p NV16 HQ 1,294,512 75.02
2160p NV24 4444 1,951,362 74.07

The 1080p input buffers are sized for 1088 rows (16-row alignment), so the 1080p frames are padded with zeros at the end.

  • After the runs: runtime_status = suspended. 0 DART faults.
  • Regression: SELinux N/A (Arch, AppArmor: 0 denials), 0 failed units, no kernel warning or error that the same machine's previous boot (7.3.0-1-113, apr0 disabled) did not have. Error lines present on both: the ASM2214 xHCI firmware is missing, DCP unexpected lane count, devmotion6 probe -5, and a USB2 hub keyboard's -71 retry.

t6041.dtsi describes apr0 and its DART, and the J616c enables them. The
J575c leaves them disabled.

The J575c's ADT (macOS 27.2.1) has apr0 (core 0x301000000, wrapper
0x300000000, aux 0x3010c0000, IRQ 1960) and dart-apr0 (0x301020000, IRQ
1959, stream 1) at the t6041.dtsi values, and its PMGR has FAB1_SOC,
SCODEC and SCODEC_STREAMING at 0x2d0, 0x328 and 0x330. Enable apr0, its
DART and those power domains, as the J616c does.

Signed-off-by: Roberto Dantas <7robertodantas@gmail.com>
@7robertodantas
7robertodantas requested review from a team as code owners November 25, 2026 10:24
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merge readiness at 7360cf09: not ready yet

Check Detail
CI at head no failing: pr-text / pr-text, pr-text / pr-text
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok in the PR body at 7360cf09
Conflicts ok none
PR text ok Risk: two-way · J575c only (t6041-j575c.dts).

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot added blast:m4 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) and removed needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 25, 2026
@RyanTheTide
RyanTheTide merged commit 7c5cd4f into aurora-silicon:main Nov 25, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants