Files
reims-vgpu/docs
Anees Iqbal 5eb5c6f5cb 🆕 Carry the display pipe's colour on the wire
macOS's display pipe applies gamma tables and a colour matrix to what it
shows, set per transaction (CGDisplayFade, Night Shift, ColorSync). The wire
had no way to carry them, so the kext refused WindowServer's calls.

Wire 1, FEATURES_LO bit 24 (DISPLAY_COLOR): ring 0 carries DISPLAY_COLOR, a
colour stage of a transaction in parts of at most 256 entries, not answered,
and PRESENT_SURFACE's padding word becomes `flags`, whose RGFX_PRESENT_KEEP
asks for a present that keeps what the display shows and changes only its
colour. Both ride the presents' lane in ring order. The host trait gains
present_keep and display_color, whose defaults answer at once and drop the
colour. A present with an unknown flag, or a kept one naming a surface, is
refused INVALID_ARGUMENT. No host offers the bit yet.

Car 12: bit 24 sits beside fx-capacity's bit 21, MANAGED_TEXTURE_SLABS, in
wire.rs, the header, KNOWN_FEATURES and design.md's bit list, both kept.
2026-11-05 21:59:32 -08:00
..