Files
reims-vgpu/docs
Anees Iqbal 3521f1914f 🆕 Define IMPORT_ADDRESSES_LATER and PAGES_BUFFER_ADDRESS
FEATURES_LO bit 9 was listed as reserved in design.md and is now
IMPORT_ADDRESSES_LATER. A guest that takes it beside IMPORT_ADDRESSES:
- gets a pages block's SURFACE_PAGES answered before the host makes the
  block's view and its import, at gpu_address 0;
- makes its buffers over the block at gpu_address 0, and the host places each
  at the view's address plus its offset;
- asks for a buffer's address with a new ring-0 query, PAGES_BUFFER_ADDRESS
  (0x23d, RgfxPagesBufferAddress), answered by an RgfxPagesAnswer.

Why: on Iris, rt's import of a 17 MiB block of 4244 runs took 15.96 ms of
the block's 16.19 ms answer, and the guest's call waited for all of it. With
this bit, the import runs on the host after the answer is given.

This commit alone changes nothing for a guest: the host offers no new bit
yet, and no kext takes it. The header is cbindgen's (cargo xtask header).
2026-11-20 07:15:38 -08:00
..