Skip to content

arm64: dts: apple: t6041-j575c: enable both MSR scalers - #3149

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

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

Conversation

@7robertodantas

@7robertodantas 7robertodantas commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What: Enable both MSR scalers (scaler0, scaler1), their DARTs and their power domains on the J575c (Mac Studio, M4 Max), as #3028 does on the J616c. DT-only.
Tested: J575c at 04ce44a: both engines probe (MSR21), NV12 -> AL8V -> NV12 bit-exact on both, GStreamer v4l2convert to EOS on both (1080p and 1080p -> 720p), runtime-suspended when idle; 0 failed units, 0 new kernel errors.
Risk: two-way door · J575c only (t6041-j575c.dts).
Not yet: nothing.

Details

The J575c includes t6041-j614-j616-j575-scaler.dtsi but left all of it disabled. Its ADT (macOS 27.2.1) has scaler0/scaler1 (hardware-version 0x15, MSR21) and dart-scaler0/1 at the dtsi's addresses and interrupts (1547/1549, 1553/1555; DARTs 1548, 1554; streams 0 and 1). Its PMGR has MSR0 and MSR0_ASE_CORE at 0x470/0x478 and MSR1 and MSR1_ASE_CORE at 0x3b0/0x3b8 (group 1), as in the dtsi. ps_fab5_soc is enabled 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 04ce44a (sha256 8ab49d71...), one-shot trial Stage 2. Against the base DTB, the only changes are the status of the 9 nodes above.

  • apple-scaler 521000000.scaler: MSR hardware-version 21, id 0x30e0037, stale status 0x0, same for 587000000.
  • NV12 1920x1080 -> AL8V -> NV12 (v4l2-ctl, one frame): both engines rc 0, AL8V 3297280 bytes, output equal to the input (sha256 91f33689...).
  • GStreamer 1.26.11 (container), videotestsrc num-buffers=300 ! NV12 1920x1080 ! v4l2convert ! ARGB ! fakesink, on each engine (v4l2convert, v4l2video14convert): ARGB 1920x1080 and 1280x720, all four rc 0, EOS in about 1.1 s.
  • After the runs: both 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, scalers 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.

The J575c includes t6041-j614-j616-j575-scaler.dtsi but leaves both
scalers, their DARTs and their power domains disabled. The J616c enables
them.

The J575c's ADT (macOS 27.2.1) has scaler0 and scaler1 (hardware-version
0x15, MSR21) and dart-scaler0/1 at the dtsi's addresses and interrupts
(1547/1549, 1553/1555; DARTs 1548, 1554, streams 0 and 1), and its PMGR
has MSR0 and MSR0_ASE_CORE at 0x470/0x478 and MSR1 and MSR1_ASE_CORE at
0x3b0/0x3b8 in group 1, as the dtsi has them. Enable them, with
ps_fab5_soc, 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 04ce44a7: 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 04ce44a7
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 099a2b2 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