Files
reims-vgpu/tests/suite/generated/display_present/display_encode_region.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

101 lines
7.6 KiB
JSON

# display_encode_region: The encode's region is the viewport of the frame's quad; the clear still covers the whole texture. Encoding into an RGBA8 texture builds another pipeline.
{"displays": [{"modes": [[64, 32, 60]], "name": "suite", "port": 0, "serial": 1000}], "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": "0x40114000", "hex": "05000180", "op": "mem"}
{"gpa": "0x40114004", "hex": "06000180", "op": "mem"}
{"gpa": "0x40114008", "hex": "07000180", "op": "mem"}
{"gpa": "0x4011400c", "hex": "08000180", "op": "mem"}
{"gpa": "0x40114010", "hex": "09000180", "op": "mem"}
{"gpa": "0x40114014", "hex": "0a000180", "op": "mem"}
{"gpa": "0x40114018", "hex": "0b000180", "op": "mem"}
{"gpa": "0x4011401c", "hex": "0c000180", "op": "mem"}
{"gpa": "0x40114020", "hex": "0d000180", "op": "mem"}
{"gpa": "0x40114024", "hex": "0e000180", "op": "mem"}
{"gpa": "0x40114028", "hex": "0f000180", "op": "mem"}
{"gpa": "0x4011402c", "hex": "10000180", "op": "mem"}
{"gpa": "0x40114030", "hex": "11000180", "op": "mem"}
{"gpa": "0x40114034", "hex": "12000180", "op": "mem"}
{"gpa": "0x40114038", "hex": "13000180", "op": "mem"}
{"gpa": "0x4011403c", "hex": "14000180", "op": "mem"}
{"gpa": "0x40114040", "hex": "15000180", "op": "mem"}
{"gpa": "0x40114044", "hex": "16000180", "op": "mem"}
{"gpa": "0x40114048", "hex": "17000180", "op": "mem"}
{"gpa": "0x4011404c", "hex": "18000180", "op": "mem"}
{"gpa": "0x40114050", "hex": "19000180", "op": "mem"}
{"gpa": "0x40114054", "hex": "1a000180", "op": "mem"}
{"gpa": "0x40114058", "hex": "1b000180", "op": "mem"}
{"gpa": "0x4011405c", "hex": "1c000180", "op": "mem"}
{"gpa": "0x40114060", "hex": "1d000180", "op": "mem"}
{"gpa": "0x40114064", "hex": "1e000180", "op": "mem"}
{"gpa": "0x40114068", "hex": "1f000180", "op": "mem"}
{"gpa": "0x4011406c", "hex": "20000180", "op": "mem"}
{"gpa": "0x40114070", "hex": "21000180", "op": "mem"}
{"gpa": "0x40114074", "hex": "22000180", "op": "mem"}
{"gpa": "0x40114078", "hex": "23000180", "op": "mem"}
{"gpa": "0x4011407c", "hex": "24000180", "op": "mem"}
{"gpa": "0x40114080", "hex": "25000180", "op": "mem"}
{"gpa": "0x40114084", "hex": "26000180", "op": "mem"}
{"gpa": "0x40114088", "hex": "27000180", "op": "mem"}
{"gpa": "0x4011408c", "hex": "28000180", "op": "mem"}
{"gpa": "0x40114090", "hex": "29000180", "op": "mem"}
{"gpa": "0x40114094", "hex": "2a000180", "op": "mem"}
{"gpa": "0x40114098", "hex": "2b000180", "op": "mem"}
{"gpa": "0x4011409c", "hex": "2c000180", "op": "mem"}
{"gpa": "0x401140a0", "hex": "2d000180", "op": "mem"}
{"gpa": "0x401140a4", "hex": "2e000180", "op": "mem"}
{"gpa": "0x401140a8", "hex": "2f000180", "op": "mem"}
{"gpa": "0x401140ac", "hex": "30000180", "op": "mem"}
{"gpa": "0x401140b0", "hex": "31000180", "op": "mem"}
{"gpa": "0x401140b4", "hex": "32000180", "op": "mem"}
{"gpa": "0x401140b8", "hex": "33000180", "op": "mem"}
{"gpa": "0x401140bc", "hex": "34000180", "op": "mem"}
{"gpa": "0x401140c0", "hex": "35000180", "op": "mem"}
{"gpa": "0x401140c4", "hex": "36000180", "op": "mem"}
{"gpa": "0x401140c8", "hex": "37000180", "op": "mem"}
{"gpa": "0x401140cc", "hex": "38000180", "op": "mem"}
{"gpa": "0x401140d0", "hex": "39000180", "op": "mem"}
{"gpa": "0x401140d4", "hex": "3a000180", "op": "mem"}
{"gpa": "0x401140d8", "hex": "3b000180", "op": "mem"}
{"gpa": "0x401140dc", "hex": "3c000180", "op": "mem"}
{"gpa": "0x401140e0", "hex": "3d000180", "op": "mem"}
{"gpa": "0x401140e4", "hex": "3e000180", "op": "mem"}
{"gpa": "0x401140e8", "hex": "3f000180", "op": "mem"}
{"gpa": "0x401140ec", "hex": "40000180", "op": "mem"}
{"gpa": "0x401140f0", "hex": "41000180", "op": "mem"}
{"gpa": "0x401140f4", "hex": "42000180", "op": "mem"}
{"gpa": "0x401140f8", "hex": "43000180", "op": "mem"}
{"gpa": "0x401140fc", "hex": "44000180", "op": "mem"}
{"gpa": "0x40010000", "hex": "45000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40008400", "hex": "380000001c0000000100000000000000000010000000000004000100", "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": "0x40034000", "hex": "000000ff040001ff080002ff0c0003ff100004ff140005ff180006ff1c0007ff200008ff240009ff28000aff2c000bff30000cff34000dff38000eff3c000fff000801ff040800ff080803ff0c0802ff100805ff140804ff180807ff1c0806ff200809ff240808ff28080bff2c080aff30080dff34080cff38080fff3c080eff001002ff041003ff081000ff0c1001ff101006ff141007ff181004ff1c1005ff20100aff24100bff281008ff2c1009ff30100eff34100fff38100cff3c100dff001803ff041802ff081801ff0c1800ff101807ff141806ff181805ff1c1804ff20180bff24180aff281809ff2c1808ff30180fff34180eff38180dff3c180cff002004ff042005ff082006ff0c2007ff102000ff142001ff182002ff1c2003ff20200cff24200dff28200eff2c200fff302008ff342009ff38200aff3c200bff002805ff042804ff082807ff0c2806ff102801ff142800ff182803ff1c2802ff20280dff24280cff28280fff2c280eff302809ff342808ff38280bff3c280aff003006ff043007ff083004ff0c3005ff103002ff143003ff183000ff1c3001ff20300eff24300fff28300cff2c300dff30300aff34300bff383008ff3c3009ff003807ff043806ff083805ff0c3804ff103803ff143802ff183801ff1c3800ff20380fff24380eff28380dff2c380cff30380bff34380aff383809ff3c3808ff", "op": "mem"}
{"gpa": "0x40018000", "hex": "004000000000000008000000415247420100000000000000100000000800000040000004", "op": "mem"}
{"gpa": "0x40014000", "hex": "000000000000000000000000042400000040000000000000", "op": "mem"}
{"gpa": "0x4000841c", "hex": "330000001800000002000000000000000000000018000000", "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": "0x40118104", "hex": "0f000000", "op": "mem"}
{"gpa": "0x40008434", "hex": "0100000014000000030000000000000046000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x48"}
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40008448", "hex": "0200000014000000040000000000000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x5c"}
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x4000845c", "hex": "070000003000000005000000000000000000000001000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x8c"}
{"ge": "0x5", "gpa": "0x40008000", "label": "stamp 5 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"cb": "newFrame", "op": "wait", "timeout_ms": 5000}
{"display": 0, "h": 8, "label": "left half", "op": "encode", "region": [0, 0, 8, 8], "samples": [[0, 0], [15, 7], [5, 3]], "w": 16}
{"display": 0, "h": 8, "label": "offset quarter", "op": "encode", "region": [4, 2, 8, 4], "samples": [[0, 0], [15, 7], [5, 3]], "w": 16}
{"display": 0, "format": 70, "h": 8, "label": "RGBA8 target", "op": "encode", "samples": [[0, 0], [15, 7], [5, 3]], "w": 16}
{"display": 0, "format": 81, "h": 8, "label": "sRGB target", "op": "encode", "samples": [[0, 0], [15, 7], [5, 3]], "w": 16}
{"display": 0, "h": 8, "label": "region past the texture", "op": "encode", "region": [8, 4, 16, 8], "samples": [[0, 0], [15, 7], [5, 3]], "w": 16}
{"display": 0, "h": 16, "label": "upscaled 2x", "op": "encode", "samples": [[0, 0], [31, 15], [10, 6]], "w": 32}
{"display": 0, "name": "present_counts", "op": "api"}