Skip to content

media: apple: isp: contain IPC failures and enable exact J613 26.6.2 preview - #974

Open
satchlj wants to merge 15 commits into
integration/aurorafrom
satchlj/port-344-20261104
Open

satchlj wants to merge 15 commits into
integration/aurorafrom
satchlj/port-344-20261104

Conversation

@satchlj

@satchlj satchlj commented Nov 5, 2026

Copy link
Copy Markdown
Member

Contain IPC failures and preserve published buffer ownership, bound receive turns, validate returned identities and notify failed streaming queues. Default to preview only for the exact J613/T8122 26.6.2 match, with apple_isp.preview_26=0 as opt-out. Retain newer Aurora resynchronization, P010 completion ownership and command helpers.

Port of omacom/linux-aurora#344. The original PR remains untouched.

Validation: arm64 defconfig + asahi.config, Image/modules/DTBs with BTF and KUnit enabled, LLVM 18/Rust 1.85.0, passed at stack top #344 (43ce9b2f61c3), which includes this branch. The validated integration base is b500668. QEMU loaded the test-bearing modules successfully with no additional failures. The combined run retains four pre-existing SEP store failures (plus their suite aggregate), reproduced on the unmodified Aurora base. The unmodified pinned base also crashes in apple-av-audio-lifetime/av_lifetime_devres_order; that unrelated audio suite is explicitly excluded. All tests added by these ports run through KUnit debugfs on Cortex-A76. This is not a fully green or complete-tree KUnit run. All five containment suites, both preview suites and 22 compiled negative controls passed in normal/optimized runs. Existing ISP KUnit cases also ran in QEMU. No 7.3 hardware boot or deployment has been performed.

Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Require matching firmware and compatibility identities on J613/T8122 before enabling preview. Recognize 26.6.2 separately so the existing wide setfile command is selected. Disable still MBNR explicitly and keep temporal history out of the preview path. Preserve H17 and older profiles, including their metadata handling.

Test the production firmware parser and admission predicate with malformed identities and board, SoC and opt-in combinations. Capture quality, metadata requirements and suspend remain hardware qualification gates.

Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Enable the preview profile by default only when the existing exact board, SoC, firmware and compatibility admission checks pass. Retain preview_26=0 as an opt-out.

C13k on J613 with 26.6.2 firmware qualified preview through PipeWire, open/close cycles and suspend. That boot explicitly passed preview_26=1; default selection is covered by the host admission test. Image noise remains a quality follow-up.

Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Brings in the DCP T6020 tunnel relink, the DAC backlight fade, the
tas2764/macaudio ADT amp setup, the ANE DART fault fix, the selftest
fixture updates and the aurora-sep loader SELinux domain.

Resolves tools/asahi/run-host-tests.py: integration/aurora registered
ane-tm-transient-fault-tests.py at the top of ASAHI_TESTS, where this
branch registered isp-preview-tests.py, isp-preview-flow-tests.py and
isp-tests.py. Keep all four entries, Aurora's first. This branch's
KILL_SIGN change merged cleanly and only affects KILL expectations.
Nothing else conflicted.
@satchlj

satchlj commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

@DjDeveloperr @RyanTheTide ready for your regression testing. It hasn't been boot-tested on J613 with 7.3 yet; I'll post the result here when I have it. It conflicts with the latest base branch right now; I'm merging that in and will push the update shortly.

@satchlj

satchlj commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

J613 boot result on 7.3 (rubra, M3 MacBook Air 13", macOS 26.6.2 / 25G83 firmware), 2026-11-05.

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