Files
reims-vgpu/tests/suite/generated/icb/icb_compute_execute.jsonl
T
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

155 lines
17 KiB
JSON

# icb_compute_execute: A compute ICB prepared by the CPU from the guest's commands (prepareIndirectComputeCommandBuffer) and executed from a compute pass (0xe4 ranged, 0xe5 through a range buffer): each command's pipeline, kernel buffer bind (reference and offset) and dispatch size reach the GPU; a command of type 0 is reset and dispatches nothing; a range executes only its commands.
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 2, "watchdog_s": 30}
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
{"off": "0x101c", "op": "mmio_w", "val": "0x10001"}
{"off": "0x1030", "op": "mmio_w", "val": "0x10002"}
{"off": "0x1004", "op": "mmio_w", "val": "0x8000"}
{"off": "0x1010", "op": "mmio_w", "val": "0x400"}
{"off": "0x1000", "op": "mmio_w", "val": "0x1"}
{"gpa": "0x40194000", "hex": "05000180", "op": "mem"}
{"gpa": "0x40194004", "hex": "06000180", "op": "mem"}
{"gpa": "0x40194008", "hex": "07000180", "op": "mem"}
{"gpa": "0x4019400c", "hex": "08000180", "op": "mem"}
{"gpa": "0x40194010", "hex": "09000180", "op": "mem"}
{"gpa": "0x40194014", "hex": "0a000180", "op": "mem"}
{"gpa": "0x40194018", "hex": "0b000180", "op": "mem"}
{"gpa": "0x4019401c", "hex": "0c000180", "op": "mem"}
{"gpa": "0x40194020", "hex": "0d000180", "op": "mem"}
{"gpa": "0x40194024", "hex": "0e000180", "op": "mem"}
{"gpa": "0x40194028", "hex": "0f000180", "op": "mem"}
{"gpa": "0x4019402c", "hex": "10000180", "op": "mem"}
{"gpa": "0x40194030", "hex": "11000180", "op": "mem"}
{"gpa": "0x40194034", "hex": "12000180", "op": "mem"}
{"gpa": "0x40194038", "hex": "13000180", "op": "mem"}
{"gpa": "0x4019403c", "hex": "14000180", "op": "mem"}
{"gpa": "0x40194040", "hex": "15000180", "op": "mem"}
{"gpa": "0x40194044", "hex": "16000180", "op": "mem"}
{"gpa": "0x40194048", "hex": "17000180", "op": "mem"}
{"gpa": "0x4019404c", "hex": "18000180", "op": "mem"}
{"gpa": "0x40194050", "hex": "19000180", "op": "mem"}
{"gpa": "0x40194054", "hex": "1a000180", "op": "mem"}
{"gpa": "0x40194058", "hex": "1b000180", "op": "mem"}
{"gpa": "0x4019405c", "hex": "1c000180", "op": "mem"}
{"gpa": "0x40194060", "hex": "1d000180", "op": "mem"}
{"gpa": "0x40194064", "hex": "1e000180", "op": "mem"}
{"gpa": "0x40194068", "hex": "1f000180", "op": "mem"}
{"gpa": "0x4019406c", "hex": "20000180", "op": "mem"}
{"gpa": "0x40194070", "hex": "21000180", "op": "mem"}
{"gpa": "0x40194074", "hex": "22000180", "op": "mem"}
{"gpa": "0x40194078", "hex": "23000180", "op": "mem"}
{"gpa": "0x4019407c", "hex": "24000180", "op": "mem"}
{"gpa": "0x40194080", "hex": "25000180", "op": "mem"}
{"gpa": "0x40194084", "hex": "26000180", "op": "mem"}
{"gpa": "0x40194088", "hex": "27000180", "op": "mem"}
{"gpa": "0x4019408c", "hex": "28000180", "op": "mem"}
{"gpa": "0x40194090", "hex": "29000180", "op": "mem"}
{"gpa": "0x40194094", "hex": "2a000180", "op": "mem"}
{"gpa": "0x40194098", "hex": "2b000180", "op": "mem"}
{"gpa": "0x4019409c", "hex": "2c000180", "op": "mem"}
{"gpa": "0x401940a0", "hex": "2d000180", "op": "mem"}
{"gpa": "0x401940a4", "hex": "2e000180", "op": "mem"}
{"gpa": "0x401940a8", "hex": "2f000180", "op": "mem"}
{"gpa": "0x401940ac", "hex": "30000180", "op": "mem"}
{"gpa": "0x401940b0", "hex": "31000180", "op": "mem"}
{"gpa": "0x401940b4", "hex": "32000180", "op": "mem"}
{"gpa": "0x401940b8", "hex": "33000180", "op": "mem"}
{"gpa": "0x401940bc", "hex": "34000180", "op": "mem"}
{"gpa": "0x401940c0", "hex": "35000180", "op": "mem"}
{"gpa": "0x401940c4", "hex": "36000180", "op": "mem"}
{"gpa": "0x401940c8", "hex": "37000180", "op": "mem"}
{"gpa": "0x401940cc", "hex": "38000180", "op": "mem"}
{"gpa": "0x401940d0", "hex": "39000180", "op": "mem"}
{"gpa": "0x401940d4", "hex": "3a000180", "op": "mem"}
{"gpa": "0x401940d8", "hex": "3b000180", "op": "mem"}
{"gpa": "0x401940dc", "hex": "3c000180", "op": "mem"}
{"gpa": "0x401940e0", "hex": "3d000180", "op": "mem"}
{"gpa": "0x401940e4", "hex": "3e000180", "op": "mem"}
{"gpa": "0x401940e8", "hex": "3f000180", "op": "mem"}
{"gpa": "0x401940ec", "hex": "40000180", "op": "mem"}
{"gpa": "0x401940f0", "hex": "41000180", "op": "mem"}
{"gpa": "0x401940f4", "hex": "42000180", "op": "mem"}
{"gpa": "0x401940f8", "hex": "43000180", "op": "mem"}
{"gpa": "0x401940fc", "hex": "44000180", "op": "mem"}
{"gpa": "0x40194100", "hex": "45000180", "op": "mem"}
{"gpa": "0x40194104", "hex": "46000180", "op": "mem"}
{"gpa": "0x40194108", "hex": "47000180", "op": "mem"}
{"gpa": "0x4019410c", "hex": "48000180", "op": "mem"}
{"gpa": "0x40194110", "hex": "49000180", "op": "mem"}
{"gpa": "0x40194114", "hex": "4a000180", "op": "mem"}
{"gpa": "0x40194118", "hex": "4b000180", "op": "mem"}
{"gpa": "0x4019411c", "hex": "4c000180", "op": "mem"}
{"gpa": "0x40194120", "hex": "4d000180", "op": "mem"}
{"gpa": "0x40194124", "hex": "4e000180", "op": "mem"}
{"gpa": "0x40194128", "hex": "4f000180", "op": "mem"}
{"gpa": "0x4019412c", "hex": "50000180", "op": "mem"}
{"gpa": "0x40194130", "hex": "51000180", "op": "mem"}
{"gpa": "0x40194134", "hex": "52000180", "op": "mem"}
{"gpa": "0x40194138", "hex": "53000180", "op": "mem"}
{"gpa": "0x4019413c", "hex": "54000180", "op": "mem"}
{"gpa": "0x40194140", "hex": "55000180", "op": "mem"}
{"gpa": "0x40194144", "hex": "56000180", "op": "mem"}
{"gpa": "0x40194148", "hex": "57000180", "op": "mem"}
{"gpa": "0x4019414c", "hex": "58000180", "op": "mem"}
{"gpa": "0x40194150", "hex": "59000180", "op": "mem"}
{"gpa": "0x40194154", "hex": "5a000180", "op": "mem"}
{"gpa": "0x40194158", "hex": "5b000180", "op": "mem"}
{"gpa": "0x4019415c", "hex": "5c000180", "op": "mem"}
{"gpa": "0x40194160", "hex": "5d000180", "op": "mem"}
{"gpa": "0x40194164", "hex": "5e000180", "op": "mem"}
{"gpa": "0x40194168", "hex": "5f000180", "op": "mem"}
{"gpa": "0x4019416c", "hex": "60000180", "op": "mem"}
{"gpa": "0x40194170", "hex": "61000180", "op": "mem"}
{"gpa": "0x40194174", "hex": "62000180", "op": "mem"}
{"gpa": "0x40194178", "hex": "63000180", "op": "mem"}
{"gpa": "0x4019417c", "hex": "64000180", "op": "mem"}
{"gpa": "0x40010000", "hex": "65000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40018000", "hex": "00400000000000000800000000000000", "op": "mem"}
{"gpa": "0x40018010", "hex": "00400000000000000900000000000000", "op": "mem"}
{"gpa": "0x40018020", "hex": "09000000000000000000000002000000000000000000000010000000000000000205460004000000040000000100000001000100010000000000000000000000", "op": "mem"}
{"gpa": "0x40018060", "hex": "00400000000000000a00000000000000", "op": "mem"}
{"file": "shaders/kernel.metallib", "gpa": "0x40040000", "op": "mem_file", "sha256": "52f96907c245aafe9287e95deb4d7d9535fc6d522364a8c25b41d20bad81ad2c"}
{"gpa": "0x40018070", "hex": "00c0020000000000a00d00000f00000000000000", "op": "mem"}
{"gpa": "0x40018090", "hex": "0b00000000000000000000000d00000002070401000000000405000000", "op": "mem"}
{"file": "shaders/vert.metallib", "gpa": "0x40044000", "op": "mem_file", "sha256": "2883f32e2c00714eae4d74d3a8d5c6c8b884c51fdad7368a3d048009d2b3eea0"}
{"gpa": "0x400180b0", "hex": "0000030000000000fe0d00000f00000000000000", "op": "mem"}
{"file": "shaders/frag.metallib", "gpa": "0x40048000", "op": "mem_file", "sha256": "d69024a2345456addd8bbadac3114798b2d4531317f882cc1366c3f264e18fa4"}
{"gpa": "0x400180d0", "hex": "00400300000000002e0c00000f00000000000000", "op": "mem"}
{"gpa": "0x400180f0", "hex": "0e0000000000000000000000310000000408041c000000190401000000010407000000020408000000000000010000000800000002000400000000010446000000", "op": "mem"}
{"file": "shaders/kernel.metallib", "gpa": "0x4004c000", "op": "mem_file", "sha256": "52f96907c245aafe9287e95deb4d7d9535fc6d522364a8c25b41d20bad81ad2c"}
{"gpa": "0x40018140", "hex": "0080030000000000a00d00000f00000000000000", "op": "mem"}
{"gpa": "0x40018160", "hex": "0b0000000000000000000000070000000100040a000000", "op": "mem"}
{"gpa": "0x40050000", "hex": "40000000000000000600000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000001000000000000000100000000000000080000000000000001000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000100000006000000000000000100000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000010000000000000001000000000000000400000000000000010000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000001000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000100000000000000010000000000000010000000000000000100000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000600000000000000010000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000001000000000000000100000000000000040000000000000001000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40018180", "hex": "00040000000000000f0000003600000000000000600000000000010000000000000000000000000000000400a0000000080000000000000000000000000000000000000010000000d8000000000000006000000070000000000100000400000000000000", "op": "mem"}
{"gpa": "0x4003c000", "hex": "0100000001000000", "op": "mem"}
{"gpa": "0x40008400", "hex": "380000001c0000000100000002000000000018000000000004000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1c"}
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40014000", "hex": "000000000000000000000000011000000040000000000000011000001040000000000000084000002040000000000000011000006040000000000000061400007040000000000000071d0000904000000000000006140000b04000000000000006140000d04000000000000007410000f040000000000000061400004041000000000000071700006041000000000000146400008041000000000000", "op": "mem"}
{"gpa": "0x4000841c", "hex": "33000000180000000200000001000000000000009c000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x34"}
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40024000", "hex": "38000000010000008700000014000000010000000300000001000000e40000001c0000000c00000000000000000000000400000000000000", "op": "mem"}
{"gpa": "0x40008434", "hex": "4300000048000000030000000100000004000000010000000100000000000000020000000000000004000000000000000c0000000000000000000100000000003800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x7c"}
{"ge": "0x3", "gpa": "0x40008000", "label": "execute all four", "op": "wait", "timeout_ms": 5000}
{"label": "execute all four", "off": "0x102c", "op": "mmio_r"}
{"label": "execute all four", "off": "0x103c", "op": "mmio_r"}
{"gpa": "0x40034000", "label": "all four", "len": "0x100", "op": "dump"}
{"gpa": "0x40034000", "hex": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40024000", "hex": "38000000010000008700000014000000010000000300000001000000e40000001c0000000c00000001000000000000000100000000000000", "op": "mem"}
{"gpa": "0x4000847c", "hex": "4300000048000000040000000100000004000000010000000100000000000000020000000000000004000000000000000c0000000000000000000100000000003800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xc4"}
{"ge": "0x4", "gpa": "0x40008000", "label": "execute command 1", "op": "wait", "timeout_ms": 5000}
{"label": "execute command 1", "off": "0x102c", "op": "mmio_r"}
{"label": "execute command 1", "off": "0x103c", "op": "mmio_r"}
{"gpa": "0x40034000", "label": "command 1", "len": "0x100", "op": "dump"}
{"gpa": "0x40034000", "hex": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40024000", "hex": "34000000010000008700000014000000010000000300000001000000e5000000180000000c000000040000000000000000000000", "op": "mem"}
{"gpa": "0x400084c4", "hex": "4300000048000000050000000100000004000000010000000100000000000000020000000000000004000000000000000c0000000000000000000100000000003400000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x10c"}
{"ge": "0x5", "gpa": "0x40008000", "label": "execute through a range buffer {1, 1}", "op": "wait", "timeout_ms": 5000}
{"label": "0xe5", "off": "0x102c", "op": "mmio_r"}
{"label": "0xe5", "off": "0x103c", "op": "mmio_r"}
{"gpa": "0x40034000", "label": "0xe5", "len": "0x100", "op": "dump"}
{"label": "end", "op": "events"}