Repository navigation
media: apple: avd: bring up J700/T8140 decoding - #154
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Add the compatible used by the J700 AVD node. The existing four-register layout and two interrupts cover this generation.
T8140 has sparse codec-specific VP blocks rather than the sequential layout used by earlier variants. Its HEVC stream uses DMA configuration words and an extended scratch-address table. Apply the J700 queue pacing and polling behavior to this variant while preserving earlier chips' behavior. Align the AV1 auxiliary storage and HEVC MV tail to keep their addresses outside the compressed frame data and aligned to the hardware granularity. Adapt DJ's existing J700 bring-up, integrated by Ryan, onto the public decoder series in PR #45. Preserve the original driver notices and authors. The legacy FIFO-mask experiment is not part of this port. Tested on J700/T8140 with open Asahi v5-t0 firmware: H.264, HEVC, VP9 and AV1 hardware downloads matched 1740 software-decoded frames in 34 runs, including 8/10-bit cases, vaGetImage, repeated opens and H.264/HEVC/VP9 seek. Co-authored-by: Ryan Murray <[email protected]> Co-authored-by: Ace <[email protected]>
Wire the J700 decoder register ranges, interrupts, shared AVD power/reset domain and three DART streams using the existing Neo bring-up by DJ and Ryan. The open v5-t0 firmware boots and /dev/video0 supports verified hardware decoding on the Neo. Co-authored-by: Ryan Murray <[email protected]> Co-authored-by: Ace <[email protected]>
Acelogic
force-pushed
the
codex/neo-avd-bringup
branch
from
October 2, 2026 04:24
61db9f7 to
d96e581
Compare
Acelogic
added a commit
that referenced
this pull request
Oct 2, 2026
Use Aurora firmware 9cbde5c7d993844bf086318974958b11076600a0. The unchanged decoder code passed 1740 exact-frame comparisons across 34 guarded physical Neo runs with this firmware. Record its build source and installation path, preserving the original contributor credits. This user-requested history revision replaces the previous #154 merge. The original merge remains available in the GitHub PR record.
Acelogic
added a commit
that referenced
this pull request
Oct 2, 2026
PR #153 was merged into the PCIe working branch after #151 had already landed, leaving its Wi-Fi and Bluetooth files out of aurora-wip. Merge the completed radio series into the development branch alongside the Neo AVD integration from #154. Keep the radio branch's complete contributor history. All radio files are identical to that branch, and the AVD driver and board wiring are unchanged. The two sides have no overlapping file edits against the public merge base. Validation: exact tree comparisons and git diff --check pass. The existing qualified Neo stack still passes Wi-Fi HTTPS with Bluetooth powered and KDE running; its Aurora-firmware AVD campaign passed 34 runs / 1740 exact frames. This integration does not claim a fresh build or boot of the merged kernel.
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.
Enable the MacBook Neo (J700/T8140) AVD decoder: add its power/DART/device-tree wiring, sparse VP mapping, HEVC v5 header handling, and aligned HEVC/AV1 auxiliary storage. Keep earlier chips' queue behavior unchanged.
Builds on merged #45 and preserves that series' original commits in the base history. The revised Neo series contains three commits: eight files, 104 insertions and 19 deletions. Its decoder code is unchanged; Kconfig now documents the Aurora firmware source and installation path.
Credit for the decoder foundation and the fixes carried from #45:
The Neo contribution builds on their work. All 29 original #45 commits, their authorship and existing Asahi contributor notices are preserved.
Retested on 2026-10-02 with Aurora firmware on a physical J700, using the matching AVD module and added DT nodes on the working Neo radio kernel:
vaGetImage.W=1build and DT compilation passed. The pre-existing VP9 stack-size warning remains. Other SoCs, suspend/resume and concurrent playback are not qualified by this run.Uses Aurora AVD firmware at
9cbde5c7d993844bf086318974958b11076600a0and libva-v4l2_request at5b5046cbda6892f4a63df0015857a80bd42c17cf. Build and installavd-fw-v5-t0.binas/lib/firmware/apple/avd-fw-v5-t0.bin; tested firmware SHA-256:d9f9e699dd63df51a3f3a44eee5141657d0a55d91d87039158e5edfe511ed63e. Firmware and test binaries are supplied separately. DJ's Aurora firmware changes and the inherited MIT license/contributor notices are preserved.Neo-specific credits: DJ (DjDeveloperr) authored the existing J700 bring-up; Ryan Murray integrated it; Ace adapted and qualified this contribution. The driver and DT commits retain DJ as author and Ryan/Ace as co-authors.
The requested history revision is integrated in
0f29f464d17b, including revised driver commitf8386c18acb7. GitHub retains the original merged-PR snapshot; these links identify the revised series onaurora-wip.