Repository navigation
M4: gate the DCP on firmware 26.6.2, not one image UUID; drop policy-disabled framebuffer domains - #1207
Merged
Conversation
…one image UUID The DCP image comes with the OS firmware and is the same on every M4 Mac. The IOMFB already requires apple,firmware-version and -compat 26.6.2, as M1 and M2 select their DCP ABI by firmware version. Drop the J713 image UUID pin from the IOMFB, the SID23 validation (now the firmware version) and the ADT parser (the UUID must still be present). Signed-off-by: Diljit Singh <[email protected]>
…ffer On the M4 firmware path the PMGR policy disables domains Linux must not touch, such as dptx_phy. J604, J623, J624 and J773g framebuffers list dptx_phy, so simpledrm deferred until the probe timeout. After the policy is applied, drop unavailable domains from every simple-framebuffer, on every M4 Mac on the qualified firmware. Other firmware keeps the tree. Signed-off-by: Diljit Singh <[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.
Two M4 fixes, both keyed on the firmware, not the board:
apple,firmware-version/-compat26.6.2, the same way M1/M2 pick their DCP ABI. The SID23 DART check now uses the firmware version; the ADT parser still requires a UUID but accepts any value.dptx_phy. J604, J623/J624 and J773g framebuffers list it, so simpledrm waited for the deferred-probe timeout. Once the policy is applied, the handoff drops unavailable domains from everysimple-framebuffer. Other firmware keeps the tree as written.Paired with aura's matching change (PIODMA gated on 26.6.2 instead of the UUID).
Tests: the touched objects build with W=1; the apple-dcp host selftests pass (87/87). The manual
m4-dcp-errorsharness fails identically on the base.🤖 Generated with Claude Code