ce87e6bc96's gate hung the guard on lavapipe: the quick check (job m3-max-74323) and a run alone
(m3-max-74325) each timed out in a wait at 60 s, while the RX 7900 XTX passed it (m3-max-74331:
"X held with 6 seen complete behind the gate, the busy work's last 6; 1 pokes"). A probe that
printed each step and the stall reports (m3-max-74338, steelbrain/pokeguard-diag e3e2cc5345,
never landed) showed why. The GPU had finished the busy work (the progress counter at 6). The
completion thread had retired busy1 (progress 4), poked once, and was still in that round, "its
step last entered reading 1 retirees' timestamps". Y waited staged for room that only the next
round gives. Lavapipe does not return that vkGetQueryPoolResults read (no WAIT flag) while its
queue waits on the test's gate batch, a semaphore only the test signals, so the round never
ended. The runtime missed no wake: a guest cannot submit a wait ahead of its signal (the README:
the submit thread holds such a wait, its command buffer Committed). The one such wait is the
test's own gate.
The hold is now staged where the device shows it can be: after the busy work opens, the test
gives the completion thread SEEN (5 s) to see the busy work's last value. Where it does, the
round that raised it has poked already, so the group and Y go and X is held. The test asserts as
before that nothing past the busy work was seen behind the gate, X's hold, and the one poke from
X's hold to L's handler. Where it does not, the test opens the gate at once and prints "the hold
not staged" with the completion side's stall report, and asserts neither the hold nor the poke.
Lavapipe can stage it too, where one round sees the whole busy work. There is no device-kind guard.
Test only; no product change. Verified at this commit: nothing yet. The quick check, the device
runs on the RX 7900 XTX, the Iris Xe and an RTX 3090, and the red control follow in the lane's
jobs.