Skip to content

drm/apple: support M3 Pro HDMI and Thunderbolt displays together - #96

Merged
chriskearney merged 1 commit into
integration/aurorafrom
fix/m3pro-hdmi-thunderbolt
Oct 13, 2026
Merged

chriskearney merged 1 commit into
integration/aurorafrom
fix/m3pro-hdmi-thunderbolt

Conversation

@chriskearney

@chriskearney chriskearney commented Oct 13, 2026 •

Copy link
Copy Markdown

The M3 Pro Thunderbolt allocator previously admitted only external source 0, which also drives built-in HDMI. A dock could consume that processor and leave HDMI waiting; connecting HDMI first could instead leave the dock without a usable processor.

Allow external sources 0 and 2 to feed DP IN0 through PCLK1, so the allocator can prefer the USB-C-only processor and keep the fixed HDMI processor available. Track the source owning the ATC pixel clock across link-rate changes and teardown, and reject another source attempting to retune or stop it. M1/M2 clock programming is unchanged; DP IN1 remains unsupported on T6030.

Validation:

  • ARM64 QEMU: 112 tests passed, one skipped, zero failures.
  • Regression tests cover both HDMI attachment orders, clock ownership, rate changes, failures, teardown and legacy clock behavior.
  • Live J516s / firmware 14.7 test kernel .934: built-in HDMI and TS3 display both active at 3840×2160@60, alongside the internal display. Dock unplug left HDMI active; cross-port reconnect restored both external outputs. Captured desktop frames and native GL/Vulkan readback passed without new GPU or display faults.
  • The broader Omarchy lab suite did not execute: its staged script returned permission denied. No full-suite pass or M1/M2 hardware run is claimed.

The display and PHY changes leave GPU driver code and device-tree wiring unchanged.

…clocks

Allow external sources 0 and 2 to feed DP IN0 through PCLK1. Track the source owning the ATC pixel clock so a stale source cannot retune or stop it, and use that identity during route teardown. The allocator can then prefer the USB-C-only processor while leaving the fixed HDMI processor available.

Keep DP IN1 unsupported on T6030 and retain the existing clock sequences on other SoCs. Cover both HDMI attachment orders, source ownership, tunnel teardown and legacy clock behavior.

Signed-off-by: Chris Kearney <[email protected]>
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