omega-gpu-driver
aien-dev/omega-gpu-driver
Brought by drakestapleton
omega-gpu-driver / gsp / connect.om
| 1 | note gsp/connect.om: composition seam, not a hardware launcher. |
| 2 | note Compose rpc/sysinfo/params/boot/arena before this unit. Firmware bytes and IOVAs are caller inputs. |
| 3 | note arboot constructs the arena and preboot command frames once, leaving rq counters/images attached. |
| 4 | note Replay queues remain host copies; later receive frames must be caller-supplied. No DMA ownership, |
| 5 | note queue publication, BAR notification or sequencer execution is inferred from successful encoding. |
| 6 | fn arboot budget ulong staticsz ulong to long |
| 7 | r = breset |
| 8 | if ne r 0 |
| 9 | ret r |
| 10 | end |
| 11 | r = arbuild |
| 12 | if ne r 0 |
| 13 | ret bfail r |
| 14 | end |
| 15 | put bstate 0 3 |
| 16 | ret bstart budget staticsz |
| 17 | end |