Skip to content

media: apple: scaler: add the M1, M1 Max/Ultra and M4 engines - #1616

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
mediaown/scaler
Nov 12, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
mediaown/scaler

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Adds the M1 (T8103) and M4 (T8132) scaler engines to apple-scaler, and enables the M1 Max and M1 Ultra engines on the existing T6000 data.

  • T8103: hardware-version 10, two register ranges (no PIODMA-side range).
  • T8132: hardware-version 20, with the MSR20 control block, the same job path as T6041 and T8140.
  • DT: scaler nodes and their DARTs are enabled on T8103, T6001, T6002 and T8132. The M4 MacBook Air (J713/J715) pmgr kept ps_msr and ps_msr_ase_core off; they are now on.

T8122 and T603x (hardware-version 16 and 17) change start, alpha and context handling, so they stay unmatched.

Tests

  • KUnit (arm64): apple-scaler 17/17.
  • make dtbs: 137/137 on both sides and no new warnings. The changed DTBs are the T8103, T6001, T6002 and T8132 boards. The J316s, J413, J616s and J700 DTBs are byte-identical.
  • M2 (J413) and M1 Pro (J316s), fleet67 kernel, stock module vs this branch's module, same inputs: NV12->BA24, BA24->NV12 and P010->BA24 at 1080p are byte-identical. The 120-frame loop runs at 909 vs 902 fps (M2) and 662 vs 662 fps (M1 Pro). 0 kernel warnings from the driver, 0 AVC.
  • M1, M1 Max/Ultra and M4 have no run on their own hardware yet.

🤖 Generated with Claude Code

The scaler driver matched only the T6000, T8112, T6041 and T8140
engines. Add the other engines that use the same programming model:

- T8103 (M1): hardware-version 10, no PIODMA-side register range, so
  two register ranges instead of three.
- T8132 (M4): hardware-version 20, the first engine with the MSR20
  control block, like T6041 and T8140.

Enable the nodes and their DARTs. The M1 Max and M1 Ultra engines use
the T6000 data qualified on the M1 Pro. The M4 MacBook Air kept its MSR
power domains off; turn them on for the engine.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit 1ffe14c into integration/aurora Nov 12, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the mediaown/scaler branch November 12, 2026 02:12
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