Files
reims-vgpu/docs
Anees Iqbal c073fcd2a7 🐎 Answer buffers that use a device cache at the doorbell
The doorbell's answer on the vCPU left every command buffer that used a cached
surface block to its queue's thread, so on a GPU with memory of its own video's
buffers and WindowServer's composites got their CB_SUBMITTED only at their
take. A buffer that uses caches is now answered there where it waits for no
copy of them at its begin: none needs a fill for it, their last fills are done,
and no copy asked of them is one it follows. Every lock it looks at is tried.

What the guest sees: such a buffer gets its CB_SUBMITTED on the doorbell's
thread, before its queue's thread takes it, as one that uses no cache does. A
copy asked between the answer and the begin (a fill a host device's write over
the pages asks, a present's fill, a download, a release) is still followed at
the begin where the buffer must follow it, the buffer waiting for it on the GPU
with its answer given.
2026-11-05 21:59:36 -08:00
..