Skip to content

tools/asahi: model the yielded Type-C port in the tunnel route test - #621

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/tunnel-route
Oct 30, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/tunnel-route

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

dcp_fabric_snapshot_port() now leaves a port that yielded both pipes to an HDMI display unwanted (0d43a7f). The fixture's port had no typec_yielded, so it stopped compiling. The fixture now checks the snapshot for both values, and checks that a T6030 tunnel on source 1 (no display-engine clock) gets no crossbar control, a case nothing covered. The runner builds two mutations (clock-ignored, snapshot-ignores-yield) and requires both to fail.

Before: 'struct apple_dcp_typec_port' has no member named 'typec_yielded'
After: PASS, 2/2 negative controls killed.

Evidence (buildbox, python3 -I, logs in aurora-ctl/reports/hostfail-20261030/) on integration/aurora 71b3fdb. The same change passes on aurora-wip 6a42fae, where tools/asahi is identical. Test-only change, no driver code touched.

🤖 Generated with Claude Code

dcp_fabric_snapshot_port() now leaves a port that yielded both pipes to
an HDMI display unwanted (0d43a7f). The fixture's port had no
typec_yielded field, so the test stopped compiling.

Add the field and check the snapshot for both values. Also check that a
T6030 tunnel on source 1, which has no display-engine clock, gets no
crossbar control, since no case covered a blocked source. The runner now
builds two mutations, ignoring the clock and ignoring the yield, and
requires both to fail.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide
RyanTheTide merged commit 22f44ec into integration/aurora Oct 30, 2026
@RyanTheTide
RyanTheTide deleted the hostfix/tunnel-route branch October 30, 2026 06:23
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