Skip to content

drm/apple: draft desktop 26.x external audio and J616s DPA graphs - #729

Merged
RyanTheTide merged 4 commits into
aurora-wipfrom
draft/desktop-26-dcp-audio
Oct 31, 2026
Merged

RyanTheTide merged 4 commits into
aurora-wipfrom
draft/desktop-26-dcp-audio

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

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:

  • Full tools/testing/selftests/drivers/gpu/apple-dcp/run.py on complete aurora-wip sources at 5c7c10bca7baa6f96206bbe8799502184bbaefbb, 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.
  • ARM64 LLVM build of Image, Image.gz and the J616s DTB with the driver/test dependencies built-in; native-link-disabled and audio-disabled Apple DRM compilation matrix passed.
  • QEMU execution of apple-av-native-audio: 22/22 parameterized runs passed, eleven each for external 14.7 and desktop 26.x.
  • Compiled-DTB checks passed for both disabled clients, SIO channels, power domains, reciprocal graphs and disabled provider chain. git diff --check and the public delta bundle verification passed.

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]>
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