Imagination_BXE-2-32

Firmware CCB (firmware → host)

The Firmware CCB (FWCCB) is the ring of notifications from the firmware to the host — asynchronous requests and events the host must handle (grow a freelist, back a ZS buffer, context reset, debug dump, clock change, etc.).

Structure and sending

Command list (ROGUE_FWIF_FWCCB_CMD_*, same IDs in both variants)

id Command Meaning
101 ZSBUFFER_BACKING ask the host to back a ZS buffer (partial render)
102 ZSBUFFER_UNBACKING ask the host to unback a ZS buffer
103 FREELIST_GROW ask the host to grow a freelist (PM OOM)
104 FREELISTS_RECONSTRUCTION ask for freelist reconstruction (after HWR)
105 CONTEXT_RESET_NOTIFICATION notify a context reset (robustness)
106 DEBUG_DUMP ask for a debug dump
107 UPDATE_STATS update statistics on the host
108 CORE_CLK_RATE_CHANGE report a core clock change
109 REQUEST_GPU_RESTART ask for a GPU restart
112 CONTEXT_FW_PF_NOTIFICATION report a firmware-internal page fault

Authoritative list: enum rogue_fwif_fwccb_cmd_type in pvr_rogue_fwif.h.

Protocols that use the FWCCB

Each protocol is a request (FWCCB) → host action → confirmation (KCCB) pair; the firmware keeps a per-freelist/per-context state machine to match requests and responses.