Repository navigation
media: apple: avd: H.264 slice hold and intra-header fixes on the rewrite - #785
Merged
Merged
Conversation
…d syntax Port the conformance fixes onto the merged frame-queue rewrite. Advertise HOLD_CAPTURE_BUF before CREATE_BUFS probing and replace format features on S_FMT. Intermediate slices retain CAPTURE through the core HOLD API; the last slice still detaches both buffers without completing DMA ownership. Reject SP/SI, FMO, unsupported SPS controls and arbitrary slice order before building instructions. Check order before selecting a bank can discard a held picture. Drop rejected unsubmitted slices and the job table without releasing a submitted bank belonging to another picture. Map sparse DPB indexes to packed reference-header slots and count every VALID header, including inactive entries. Dense legacy programs retain their bytes; sparse reference operands and inactive-entry counts change intentionally. Fold the old host/queue cases into the existing program and dispatch tests, including exact baseline programs, every DPB occupancy map, CREATE_BUFS probing, held/final/error dispatch and production two-bank preparation. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
…ictures Port the reference-free intra-header fix onto the banked H.264 builder. Frame-number gaps can evict every real reference, leaving a non-IDR I picture with an empty hardware DPB. Its inter header cannot encode the empty table because the reference count lives in the first entry. Use the existing IDR intra-only header for an I picture with no VALID references. This sets INTRA, clears NOT_IDR and omits the empty reference preamble. Pictures with references retain the existing header on both transports. Extend the rewrite's program test with 32 exact complete-program checks against the pinned legacy IDR path, preserving before/after evidence. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
notmysegv
pushed a commit
to notmysegv/linux
that referenced
this pull request
Nov 4, 2026
…tion/aurora Bring integration/aurora up to aurora-wip b359258, the source of 7.3.0-aurora-fleet14f, promoted on the M1 Pro, M2, Neo and J616s on 2026-11-01 and 11-02. The range also covers the fleet14c, fleet14d and fleet14e sources (f41ac3d, 4759557, 757fc07), each booted on hardware. It adds aurora-silicon#773, aurora-silicon#776, aurora-silicon#777, aurora-silicon#737, aurora-silicon#713, aurora-silicon#785, aurora-silicon#786, aurora-silicon#788, aurora-silicon#789 and aurora-silicon#787. No conflicts. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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.
Two H.264 fixes for the AVD driver, ported onto the merged rewrite so they work on both the legacy transport and the queued open-firmware transport.
Problem: Fluster JVT-AVC_V1 on the M2 passes 62 of the 83 runnable vectors. Multi-slice streams that negotiate HOLD_CAPTURE_BUF lose slices, and reference-free non-IDR I pictures get an inter header.
Fix:
Legacy dense programs are byte-identical. HEVC gains SPS validation only. VP9 is unchanged.
How tested:
Newly passing: CABACI3_Sony_B, CABAST3_Sony_E, CABASTBR3_Sony_B, MR3_TANDBERG_B, MR4_TANDBERG_C, MR5_TANDBERG_C. Nothing newly fails, and there were no timeouts.
🤖 Generated with Claude Code