Repository navigation
arm64: dts: apple: t8132: enable the Neural Engine on every M4 board - #2792
Conversation
Every T8132 has the ANE; the DT enabled it, with its three DARTs, on the J713 only, the board it was first run on (#1952). The node's resources and power domains are the SoC's, and the driver binds only when the loader hands off the firmware preload (aura#260 does so for any apple,t8132-ane node), so enable it in the SoC file and drop the J713 copy. The J713's DT is unchanged. Not tested on the J604, J715, J623/J624 or J773g (desk audit, lane SPEC-M3M4). Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Review at ea50ee1 (non-author, draft). No blocker found; ready once the listed rows are in.
Small points, not blocking:
Assisted-by: LLM (Claude:Opus 5.5) |
|
This still applies to main and closes #4144, so here is the forward merge, built and ready to take. On main
Since the J773g row here (26.6.2), main has gained the T8132 26B123 preload profile, so on 27.2 the row to add is: boot, |
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Forward-merged main f02bd68 as 10df05e (merge commit, no rebase). The one conflict in t8132-j713.dts is resolved as DjDeveloperr described: main's DisplayPort alt-mode and dcpext blocks kept, the four Local check (cpp + dtc with CHECK_DTBS=y, dtschema): all six T8132 DTBs build, 0 new schema or dtc warnings against main. J713 DTB byte-identical to main; J604, J623, J624, J715 and J773g differ only in the four DT-only and inert where the loader does not hand off the ANE preload, so marking it ready. Still wanted as a follow-up row: an inference on a non-J713 board (J773g with an HWX fixture) and one J604 or J715 boot. None of those is in our lab. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at 324e821
Checked: The shared T8132 description enables the ANE and its three DART nodes without changing their resources or IOMMU references. J713 already enabled all four through board overrides. Removing those overrides leaves the board's other changes, including DisplayPort routing, intact. The ANE preflight still rejects absent or malformed TEXT/DATA reservations before the firmware backend runs. Exact hosted DT checks passed. The J773g boot result in the description is from the predecessor PR.
|
Exact-head DTB verification at
Merging under the six-point gate at exact head
|
Replaces #2244 (same changes, commit trailers fixed).
Problem. Every T8132 has the Neural Engine, but the DT enabled it (and its three DARTs) only in
t8132-j713.dts, the board it first ran on. The J604, J715, the iMacs and the Mac mini never get the node.Change. Enable
ane,ane_dart,ane_dart1andane_dart2int8132-peripherals.dtsiand drop the J713 copy. The driver still binds only when the loader hands off the firmware preload (aura#260 does that for anyapple,t8132-anenode), so a board whose loader doesn't hand it off behaves as today.Testing. cpp + dtc on all six T8132 boards: same warning counts as the base. J713's sorted decompile is byte-identical to the base. On J604, J715 and J773g the only change is those four nodes going from disabled to okay.
Rows from #2244. DjDeveloperr ran it on a J773g (Mac mini M4) with aura#260, 4 boots: the preload identity is accepted, all three DARTs come up, the ANE stage reports
program ran=1 refused=0,/dev/accel/accel0is present, 0 IRQ timeouts (row).Still to run. An inference on a board other than the J713 (the J773g row had no HWX fixture), and one boot on a J604 or J715.