Imagination_BXE-2-32

Data master kicks

A kick programs the GPU registers to start a unit of work and starts the unit. Each task type has its kick, triggered by dispatch (client-ccb). This page describes at a high level what each kick does. Register addresses are in registers.

Full kick detail: the registers to program and the ordering dependencies are in kick-geometry-ta (geometry) and kick-compute-and-3d (compute, fragment and transfer).

Steps common to every kick

  1. Activate the context’s memory context (BIF) (below).
  2. Program the context’s register set in the GPU register bank (XPU broadcast on multicore).
  3. Load the command parameters (the kick structure, mostly host-prepared register values, see command-structs) into the unit’s registers.
  4. Start the unit and record the DM’s execution state (context, offset, kick time, deadline).
  5. Emit the kick’s trace entry.

Memory context (BIF) activation

Each rogue_fwif_fwmemcontext (page catalogue pc_dev_paddr, breakpoint) is bound to one of the slots 1–7 of ROGUE_CR_BIF_CAT_BASE on every kick. Slot 0 belongs to the firmware itself.

Behaviour requirements:

Geometry kick (TA / DM 2 and 6)

Fragment kick (3D / DM 3)

Transfer kick (TQ)

Compute kick (CDM / DM 4)

Completion

The GPU signals completion in ROGUE_CR_EVENT_STATUS (HW2, IRQ task). The firmware handles the completion of the corresponding DM: