Commit Graph
3 Commits
Author SHA1 Message Date
Anees Iqbal ffc3208151 Docs: delete the cites of the deleted runtime lanes
The runtime_lane tests went with the old runtime, so every cite of one
was false. Each cite is deleted outright, in the conformance cases and
probes, the engine fixtures README, the translator's precision-note and
profile docs, one engine test comment and the i915 counter's header.
Where a sentence only restated what a deleted lane held or showed (the
"what the port changes" paragraphs, the "stays a lane assertion"
sentences, the lane's own model kept "exactly as" it stated it), the
sentence is deleted; the Metal facts the cases record stay.

Two runtime claims beside the cites were false of the live runtime and
now say what it does: a command queue of 0 command buffers is
Refusal::NoCommandBuffers, and a heap texture's size is the device
image's own requirement, held by its property.

Verified: git grep runtime_lane finds nothing. Not built yet; the gate
for the whole pass follows.
2026-11-20 10:27:17 -08:00
Anees Iqbal 965eb0b538 Wake the scheduler thread at once for a check a commit's pass finds
A commit whose pass finds a submission check or a host step for the scheduler thread now wakes that
thread at once, instead of after its own later passes and submission handlers. The scheduler thread
runs one check or host step at a time, taking in waiting commits between them, and a commit handed
to another thread waits at most for that thread's current pass and its handlers. The commit-latency
lane measures a checked commit's wait for its submission under a consumer-like load (400 host
imports, checked command buffers from one and three threads, event waits).

Gain: the consumer's guest A/B on a Radeon 780M and an RX 7900 XTX (RADV): window drags +13-20%
frames/s, and the commit's off-CPU wait from 9.3 to 0 ms a frame. The new test's hold fell from
71-75 ms (RADV, ANV) to prompt.

Verified on the original branch: the scheduler lanes, 62 of 62 on RADV and ANV, and the runtime
crate's tests. This squashed commit was not re-tested on its own.
2026-10-14 12:15:42 +03:00
Anees Iqbal 8963e1871b Submit a commit's work without waiting for the scheduler's lock
A commit no longer blocks on the scheduler's lock while another thread's pass holds it across its
vkQueueSubmit calls: it leaves its batches in a commit inbox that the pass under way takes in, in
commit order. A batch's first work rides in the batch's own vkQueueSubmit, a batch with nothing to
end submits no command buffer, and the runtime counts its queue submissions and live memory blocks
per commit.

Gain: on an Intel Iris Xe host (ANV on i915), the consumer's guest A/B measured a Finder window drag
at 22.1 -> 34.4 frames/s and Safari at 39.1 -> 42.7 frames/s.

Verified on the original branch: the runtime lanes on ANV and lavapipe. This squashed commit was not
re-tested on its own.
2026-10-14 12:15:22 +03:00