Repository navigation
J616s: enable the internal display after the m1n1 T6041 handoff - #452
Merged
Merged
Conversation
The m1n1 T6041 display handoff describes the running internal DCP in the dcp, display and piodma nodes. It needs the DVA window of the two display DARTs (ADT vm-base 0x100_0000_0000, vm-size 0x10_0000_0000) as apple,dma-range, two address and size cells on dcp for the piodma memory regions, and a disp0-piodma alias to find the piodma node. The nodes stay disabled; Linux enables them only when the handoff has been published. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
m1n1 hands the internal T6041 DCP of the J616s over by describing it in the device tree (apple,t6041-handoff on dcp, display and piodma, their firmware regions and the 26.6.2 apple,firmware-compat) and leaves the display nodes disabled, so that a kernel that cannot adopt a running DCP keeps the boot framebuffer. Enable them before devices are created, as the T6030 gate does, but only on a J616s, only with the complete handoff and the 26.6.2 firmware, with the DCP, display and piodma DARTs on their expected streams, every node still disabled and the DCP CPU running. Otherwise, or with nomodeset, nothing changes. It is built in (default on Apple platforms), because appledrm is only loaded once the nodes exist. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide
added a commit
that referenced
this pull request
Oct 25, 2026
Include the J616s display handoff gate from #452 on top of the required 3b77f0f consolidation and the host/KUnit fixture repairs. Qualify this final tree before publication. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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 kernel half of the J616s internal panel. With aurora-silicon/m1n1#51 (merged), m1n1 describes the DCP that iBoot leaves running and leaves the display nodes disabled. This PR lets Linux take it from there.
Two commits:
Gates
On integration/aurora 3b77f0f with #394:
Hardware
MacBook Pro 16" M4 Pro (J616s) on the 26.6.2 boot firmware, m1n1 aurora-wip d4b8288c with chosen.asahi,t6041-dcp=1, and the device tree from this branch with nothing local on top:
eDP-1 is connected, the apple-panel-bl backlight works, and the login screen comes up on the panel. Our regression suite matches the earlier boots, with the display, backlight and deferred-probe checks passing and nothing else changed. Without the config line m1n1 publishes nothing, the gate does nothing, and the Mac stays on the boot framebuffer as before.
Required boot configuration
The handoff is off unless the m1n1 Stage 2 config carries this line, the boot.bin config form of a /chosen property:
The Stage 2 m1n1 must be aurora-wip d4b8288c or later (m1n1#51). Without the line, the J616s boots on the framebuffer exactly as today.