Skip to content

drm/asahi: g17: update g17-render-owed-stamp-tests stubs for forfeit_blocker and note_retired - #3783

Closed
satchlj wants to merge 1 commit into
mainfrom
fix/g17-render-owed-host-tests
Closed

satchlj wants to merge 1 commit into
mainfrom
fix/g17-render-owed-host-tests

Conversation

@satchlj

@satchlj satchlj commented Dec 1, 2026

Copy link
Copy Markdown
Member

What:
Update the mock harness in tools/asahi/g17-render-owed-stamp-tests.py after recent g17 timeout/recovery changes added a published: u64 parameter to recovery::note_retired() and called Packet::{note_first_excuse, first_excuse} and Queues::forfeit_blocker() from Backend::defer_timeout():

  • Update recovery::note_retired(_: u64)
  • Add Packet::note_first_excuse(&self, _: u64) and Packet::first_excuse(&self) -> u64
  • Extract real Queues::forfeit_blocker() from runtime/render.rs into registry_fns and add ComputeQueueStub::forfeit_head()

Tested:

  • Host tests at head 4ba1d6b47566: python3 tools/asahi/g17-render-owed-stamp-tests.py 47/47 passed, and all 34/34 --mutation checks killed cleanly.

Risk:

  • Two-way door; test-harness-only change in tools/asahi/g17-render-owed-stamp-tests.py, zero kernel code touched, no hardware impact.

Not yet:

  • Waiting on CI Host tests run to confirm green on main.

…blocker and note_retired

Recent g17 timeout/recovery changes added a published timestamp argument to
recovery::note_retired() and called Packet::{note_first_excuse, first_excuse}
and Queues::forfeit_blocker() from Backend::defer_timeout().

Update the standalone host-test fixture in tools/asahi/g17-render-owed-stamp-tests.py
to match those signatures and extract Queues::forfeit_blocker() from
runtime/render.rs alongside ComputeQueueStub::forfeit_head(), restoring
Host tests on main.

Signed-off-by: Satya Benson <[email protected]>
@satchlj
satchlj requested review from a team and DjDeveloperr as code owners December 1, 2026 11:46
@github-actions github-actions Bot added area:gpu Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Merge readiness at 4ba1d6b4: not ready yet

Check Detail
CI at head no failing: host-tests
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA 4ba1d6b4, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: two-way · test-harness-only change in tools/asahi/g17-render-owed-stamp-tests.py, zero kernel code touched, no hardware impact.

Areas: area:gpu

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The G17 owed-stamp fixture passes after these stub updates. The exact-head full host run still fails on the AVE old control, Broadcom PS nap fixtures and G17 output-fence fixtures. #3778 fixes all four fixture groups and passed the full host suite, so that is the complete host-CI repair.

@github-actions github-actions Bot added the ci-failing A check failed at the PR head (bot) label Dec 1, 2026
@satchlj

satchlj commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Superseded by #3778, which updates tools/asahi/g17-render-owed-stamp-tests.py alongside the other three drifted host fixtures and passes Host tests.

@satchlj satchlj closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gpu Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants