Skip to content

arm64: dts: apple: t6041-j616c: give the external DCPs a text region - #1472

Merged
DjDeveloperr merged 2 commits into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-dcpext-text
Nov 11, 2026
Merged

DjDeveloperr merged 2 commits into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-dcpext-text

Conversation

@joske

@joske joske commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

On the M4 Max laptops the external displays never come up. aura (0a1f501 and main) fills the external DCPs' firmware memory only from the three-region layout the M4 Pro uses (t6040-j616s-extdisp-mem-loader.dtsi): text, data and heap placeholders. It replaces text with the internal DCP's shared TEXT and fills the other two from the ADT. The J616c's HDMI and USB-C dcpext nodes, which the J614c shares, describe only data and heap. aura's t6041_ext_fill() therefore refuses both processors at its memory-region length check, and the display gate keeps them off:

DCP: T6041: dcpext0 firmware memory refused; placeholder remains disabled
DCP: T6041: dcpext1 firmware memory refused; placeholder remains disabled
apple-t6041-display: /dcp@3a2e00000: no firmware memory, nothing enabled

This adds the text placeholder to both, as on the M4 Pro. The display gate's check (staged_firmware_memory()) only needs every region to be available apple,asc-mem, so the count doesn't matter to it.

Tested on a J614c (linux-aurora from febb624, aura 0a1f501):

  • aura fills both processors: dcpext0-data@10fd28f8000, dcpext0-heap@10fd18f8000 and the same for dcpext1, with text on the shared TEXT. The gate logs "/dcp@3a2e00000 enabled" and "/dcp@602e00000 enabled", and both bind to apple-drm and start their firmware.
  • HDMI (dcpext0): a 2560x1440 monitor is detected with its EDID modes and runs at 2560x1440 @ 59 Hz with the desktop on it. Unplugging is detected.
  • USB-C DisplayPort (dcpext1, left-front port): the same monitor runs at 2560x1440 @ 69 Hz. The left-back and right ports have no display route in these DTs, so nothing happens there, as expected.

Not tested on the J616c. It uses the same dtsi files and the same aura path.

🤖 Generated with Claude Code

The loader fills the M4 Max's external DCP firmware memory only from
the three-region layout the M4 Pro uses: a text, a data and a heap
placeholder (t6040-j616s-extdisp-mem-loader.dtsi). It points the text
region at the internal DCP's TEXT, which the processors share, and
fills the other two from the ADT. The J616c's HDMI and USB-C dcpext
nodes describe only data and heap, so on a J614c the loader refuses
both processors and the display gate keeps the external displays off:

  DCP: T6041: dcpext0 firmware memory refused; placeholder remains disabled
  DCP: T6041: dcpext1 firmware memory refused; placeholder remains disabled
  apple-t6041-display: /dcp@3a2e00000: no firmware memory, nothing enabled

Add the text placeholder to both, as on the M4 Pro. The display gate
only needs every region to be available asc-mem.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preserve original contributor commits and dependency-ordered M4 changes.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.

No remaining blocking source findings in the reviewed/integrated net change. Integrated current main without losing newer board graph changes. Per-boot external DCP TEXT/DATA placeholders and exact loader/driver memory validation remain intact; original author ancestry is preserved. Owner J614c external-display evidence is retained. Fresh exact-head DT/host results must pass. Land before1473/1476 and retain matching installed-loader/DT requirements.

Approval does not waive pending CI, dependency order, hardware-safety gates or source-versus-release qualification. No source merge is an installed-loader write or a new hardware test.

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.

2 participants