Repository navigation
drm/apple: draft desktop 26.x external audio and J616s DPA graphs - #729
Merged
Merged
Conversation
Admit the generation-specific DPA compatible while retaining the SIO DMA, power-domain and bidirectional display graph requirements. Document that T6041 clients stay disabled pending firmware and loader support. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Separate the desktop audio service on endpoint 0x2b from AV device control on 0x29. Reuse the native external PCM lifecycle and service- generation ownership, validate compact reply bounds, and pin metadata RPC owners outside receive-side publication locks. Exercise replacement, Terminate and rejected link prepares for both native firmware roles, with a synthetic host test for compact reply lengths. Document the provisional desktop protocol assumptions; no audio client is enabled by this change. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Connect DPA1 and DPA2 to DCPEXT0 and DCPEXT1 port zero using SIO channels 0x66 and 0x68 and the corresponding existing power domains. Keep both clients disabled and leave the SIO provider chain untouched until its T6041 backend and loader handoff are available. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Replace the host assert header definition with an explicit message- bearing static assertion, so the fixture builds with strict C11 diagnostics on both Linux and macOS. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide
marked this pull request as ready for review
October 31, 2026 23:13
This was referenced Nov 2, 2026
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.
Desktop 26.x external DCPs advertise audio separately from AV device control. Bind the draft compact audio service on endpoint 0x2b while retaining AV control on 0x29, and reuse the native PCM link lifecycle with service-generation ownership. Validate compact reply lengths and pin metadata RPC owners outside the receive-side publication lock.
Describe J616s DPA1/DPA2 with SIO channels 0x66/0x68 and reciprocal DCPEXT0/DCPEXT1 port-zero graphs. Both DPA clients remain disabled, along with the SIO/DART/mailbox provider chain. SIO firmware and loader support remain separate work.
The service name/unit, command numbering and native link/element layouts remain provisional. A qualification followup must establish those firmware contracts and real sink element catalogs before enabling either output. Synthetic tests establish source behavior; hardware audio remains unqualified.
Validation:
tools/testing/selftests/drivers/gpu/apple-dcp/run.pyon complete aurora-wip sources at5c7c10bca7baa6f96206bbe8799502184bbaefbb, with TMPDIR on Linux tmpfs: baseline 82/82, candidate 83/83, every baseline pass retained. Includes the existing panel-colorimetry case and the new compact-audio reply checks under ASan/UBSan.apple-av-native-audio: 22/22 parameterized runs passed, eleven each for external 14.7 and desktop 26.x.git diff --checkand the public delta bundle verification passed.