Files
reims-vgpu/docs
Anees Iqbal 020fc3290f 🐛 Post a pipe transaction's colour and present as one
IOPresentment opens several display pipe clients for a display, and any may
submit a transaction. A transaction posts its colour as DISPLAY_COLOR parts,
then its PRESENT_SURFACE, and only its own client's submits waited for each
other: another client's present could land between them. The host applies
the parts it has staged to the next present it takes, so that present took
the other transaction's colour, and a stage whose parts it cut short was
dropped, its table unchanged.

The framebuffer now has a presents lock. A transaction takes it once it has
room, and holds it across its colour and its present; the PRESENT_SURFACE 0
the last client's going posts takes it too. What changes for the host: a
transaction's parts and its present reach the control ring with no other
present between them, where two clients submit at once (CGDisplayFade's
steps beside WindowServer's frames). One client's posts are unchanged.
2026-11-05 21:59:33 -08:00
..