Repository navigation
media: apple: avd: don't reset the T6041 decoder in recovery - #1091
Merged
RyanTheTide merged 1 commit intoNov 7, 2026
Merged
RyanTheTide merged 1 commit into
RyanTheTide merged 1 commit into
Conversation
On the J616C the machine hangs right after the recovery reset, while the decoder's DART domain is restored, so one decoder timeout takes the whole Mac down. Until the cause is known, stay parked on T6041: the decoder retires and players fall back to software. Other SoCs recover fine and keep the reset. Signed-off-by: AxxzyWasTaken <[email protected]>
RyanTheTide
added a commit
that referenced
this pull request
Nov 7, 2026
…ck-20261107 Merge train 11-08. Test kernel 7.3.0-aurora-mtrl1 (integration 43c790f + this check + #842/#1088/#1091) one-shot on the Neo: AV1 1080p 747 fps and 4K 189 fps decode bit-exact against software (fleet23 base 747/189), VP9/H.264 bit-exact, GStreamer v4l2slav1dec 1080p/4K clean, 0 tile refusals on valid streams, 0 AVD errors, 0 AVC, CTXR boot verify PASS. Build warnings = fleet22, W=1 avd 0, run-host-tests --only avd 12/12, CI green. M4 Max evidence: AxxzyWasTaken's J616C (Chromium 8-tile/1-entry case).
RyanTheTide
approved these changes
Nov 7, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Merge train 11-08: reviewed. It's T6041-only (variant quirk, BIT(5) is free), and avd_pm_recover() parks the decoder and returns -EIO before the reset, with DMA still parked, so a timeout retires the decoder instead of resetting it. That's the behaviour you ran as a module parameter. Built in 7.3.0-aurora-mtrl1 (W=1 avd 0, host tests 12/12); no fleet Mac takes the path. CI green. Please follow up when the hang's cause is known, so the reset can come back.
RyanTheTide
added a commit
that referenced
this pull request
Nov 7, 2026
Brings aurora-wip up to fleet25: DT descriptions (#1029, #1030, #1112), the J715 board (#1129), Stockholm NFC (#1042, #1136), the AV1 tile check (#1100), the M4 Max ANE profile and AVD quirk (#1088, #1091), boot-log fixes (#1103, #1104) and the Neo ANE memory floor (#1137). Conflicts: macaudio.c and apple,macaudio.yaml, where aurora-wip's J813 and J873 entries and integration's J715 entries were added at the same spot. Keep all of them. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
This was referenced Nov 7, 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.
This is a stopgap. On the J616C the machine hangs right after the recovery reset, while the decoder's DART domain is restored, so a single decoder timeout takes the whole Mac down. The cause isn't known.
This adds
AVD_QUIRK_NO_RECOVERY_RESETfor T6041 only. The decoder stays parked and retires, and players fall back to software. Other SoCs keep the reset.Tested: on the J616C, as a global module parameter in the out-of-tree module, with Helium AV1 and ffmpeg. This T6041-only form is compile-tested on
integration/aurora, and the path has not run in this form.