Files
reims-vgpu/docs
Anees Iqbal 67272f78a8 📝 Design the device's multiple displays
The owner decided multi-monitor support on the reims-graphics device, full
scope: several displays, each with its own scanout, modes, VBLANKs and cursor
in a window of its own, on x86-64 macOS 11 to 26 and arm64 from 14. This is
the design the four implementation lanes build, and the wire's definitions it
names, which nothing uses yet.

design.md's new section "Multiple displays" decides the parts: the count is
fixed when the device is made (1 to 4, 1 by default), the guest learns it by a
new feature bit, MULTI_DISPLAY (bit 48), which a host offers only with two
displays or more, the messages name their display as they already do, and each
display's scanout lies in an even share of today's scanout room, so a device
of one display is what it was, bit for bit, and no region offset moves. It
gives the C API's additions, QEMU's displays property, the windows, both
kexts, the option ROM (display 0 alone, unchanged), reims-ctl's setting, the
unknowns each lane measures first (the pointer across displays above all) and
the lanes' split, order and checks.

wire.rs adds RGFX_FEATURE_MULTI_DISPLAY, RGFX_DISPLAYS_MAX, and the rooms'
RGFX_SCANOUT_ROOM_ALIGN and RGFX_SCANOUT_STRIDE_ALIGN; the header carries them
as #defines, which change no built binary, and its test checks their values.
2026-11-15 13:47:31 -08:00
..