Repository navigation
drm/apple: support M3 Pro HDMI and Thunderbolt displays together - #96
Merged
Merged
Conversation
…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]>
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 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:
.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 display and PHY changes leave GPU driver code and device-tree wiring unchanged.