Commit Graph
2 Commits
Author SHA1 Message Date
Anees Iqbal e6ff175880 🐛 Write back ICB lengths per word and strides by kernel binds
A compute indirect command buffer's write-back (SynchronizeResources 53, and
the eviction at suspend) wrote every threadgroup memory length at the
layout's lengths offset, and sized its strides cursor by the descriptor's
vertex bind count. Apple's GPU task service on macOS 27.0.1 (read:
synchronizeIndirectComputeCommandBuffer) writes each length to its own word
and takes one stride a kernel bind, as prepare reads them, so testing.md
7.1's stride quirk is not Apple's on this release and leaves the list.

For the guest: a written-back compute command holds each threadgroup length
in its own word, and lengths that run past the command end the write-back
there; a dynamic-stride command holds a stride for each kernel bind,
whatever its vertex bind count. The expected files of icb_evict, icb_sync,
icb_sync_errors and mutgap_tex_icb_sync_more (26A434) are recorded again,
with the scenarios and generated inputs that make them.

Source: 03bcf248f 85b938f3c
2026-10-26 12:24:31 +02:00
Anees Iqbal 98fe2a3bd5 🆕 Replace the tree with libreims_vgpu and its C API
This repository now holds libreims_vgpu, a Rust library that is the host
side of the paravirtualized GPU macOS guests drive, in place of Apple's
ParavirtualizedGraphics.framework: the library and its C API
(reims_vgpu.h), the PCI device's option ROM, QEMU's apple-gfx on that API
(vendor/qemu), the behaviour-lock suite that drives the C API as QEMU
does, and reims-ctl, the VM manager users run. README.md says what it is
and how it is laid out, and AGENTS.md how to change it.

Every file of the earlier tree is replaced. vendor/qemu moves to the
steelbrain/reims-vgpu branch of the same public repository.
2026-10-11 20:27:17 +03:00