Skip to content

selftests: repair existing GPU harnesses for no-peer and H17G changes - #1014

Merged
Acelogic merged 2 commits into
aurora-wipfrom
asahi-m4-retention-harness
Nov 6, 2026
Merged

Acelogic merged 2 commits into
aurora-wipfrom
asahi-m4-retention-harness

Conversation

@Acelogic

@Acelogic Acelogic commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Existing GPU host tests stop compiling after the shared UAT no-peer guard and H17G display changes: the M4 retention harness lacks is_no_peer()/ENOTSUPP, and three DCP harnesses lack the newly referenced backlight state, H17G identifier and internal-panel predicate.

Restore those harness interfaces while preserving every existing assertion. The firmware and panel predicates are extracted from production source; unexpected internal-panel blanking still fails the external-link test. No driver code changes and no tests are removed.

Validation: the existing M4 retention/fault-injection test passes; all 86 DCP groups pass with AddressSanitizer/UndefinedBehaviorSanitizer on the Linux builder. All 185 registered host jobs now have passing local verdicts on combined candidate 3a0da31bcc02: 184 passed the full run; the old-code neo auxiliary control passed on rerun after supplying its exact missing historical Git blob. Its two companion jobs also passed. No source changed between those runs. The VM checkout was clean; Python 3.14.4, clang 21.1.8, GCC 15.2 and Rust 1.93.1 were used. The exact PR head bd08b7125e1d also independently passes the M4 suite and all 86 DCP groups on its own base. GitHub currently rejects workflow dispatch with “Actions has been disabled for this repository,” despite its settings reporting enabled; retained local logs provide the current check results.

…uard

The shared bind path now calls UatFirmware::is_no_peer and returns ENOTSUPP. Extract the production predicate and provide the missing error constant so the existing retention and fault-injection assertions compile and execute again. No production code or assertions change.

Signed-off-by: Acelogic <[email protected]>
Keep the powerlog, service-rebind and external poweroff harnesses compiling with the H17G display changes. Add the referenced state and identifier, extract the actual panel predicate when available, and reject unexpected internal-panel blanking in the external-link test. Preserve all existing assertions.

Signed-off-by: Acelogic <[email protected]>
@Acelogic Acelogic changed the title selftests: repair the M4 retention harness after no-peer admission selftests: repair existing GPU harnesses for no-peer and H17G changes Nov 6, 2026
@Acelogic
Acelogic marked this pull request as ready for review November 6, 2026 06:48
@Acelogic
Acelogic merged commit 3e21fb5 into aurora-wip Nov 6, 2026
RyanTheTide added a commit that referenced this pull request Nov 6, 2026
Carries the work merged on aurora-wip since #1018 into the release
branch: M5 T8142/J813 bring-up (#995 #996 #997 #998 #1001 #1002 #1003),
T8152/J873 bring-up (#984 #1009 #1013 #1022), J813 AVD/ISP (#1026)
and the selftest harness updates (#1014). The merge is clean; the 13
integration/aurora commits since #1018 are kept.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
@RyanTheTide
RyanTheTide deleted the asahi-m4-retention-harness branch November 7, 2026 00:54
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