Repository navigation
dmaengine: apple-sio: DisplayPort audio channel records as macOS writes them - #1282
Merged
Merged
Conversation
macOS 26.6 writes a six-word record for a DisplayPort audio channel: [2, 0, 0x800, 0x600, 0x800, 0] on T6041 and [2, 0, 0x800, 0x800, 0x800, 0] on T8140. The T6041 backend sent 5 as the limit: that is the host's mailbox call timeout, not part of the record. Send 0x800, as on the earlier SoCs. Add the T8140 (MacBook Neo) SIO: its firmware reports protocol 10 and takes the T6041 boot tables and driver-owned arrays (its ADT describes the same map-range, DMA shim and device-type tables key for key); its DisplayPort audio channels refill at 0x800, as its ADT dp-audioN records say. KUnit apple-sio-t6041: the T6041 and T8140 records, and the T8140 match. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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.
Split out of #1280, which stays a draft until the Neo SIO boots.
macOS 26.6 writes the record [2, 0, 0x800, 0x600, 0x800, 0] for a T6041 DisplayPort audio channel, and [2, 0, 0x800, 0x800, 0x800, 0] for a T8140 one (clean-room spec, Daybreak t-5905). The T6041 backend sent 5 as the limit. That value is the host's mailbox call timeout and is not part of the record. This sends 0x800.
It also adds the T8140 backend data (protocol 10, the T6041 tables, refill at 0x800 from the ADT dp-audio records). No device tree enables the T8140 SIO yet, so that part has no effect until #1280 lands.
KUnit apple-sio* passes 22/22. The new cases check both records and the T8140 match.
Hardware, J616s (silent; streams only into the Acer QG270 S3, which has no speakers):
This does not touch sound/soc/apple, mca, macaudio or the speaker DT nodes.
🤖 Generated with Claude Code