include/kick.h — Kick declarations

Data-master state shared by the scheduler and the kick code, and the functions of kick.c, geom.c, frag.c and hwr.c.

struct dm_state

The task a data master runs.

bool busy

A task is running.

fwaddr_t ctx

Firmware address of the running context.

uint32_t cmd_off

Offset of the running command in its client CCB.

uint32_t event_mask

CR_EVENT_STATUS bits that complete the task.

uint32_t finish_sfid

Trace entry written on completion.

uint64_t kick_time

CR_TIMER at the kick (for the lockup watchdog).

fwaddr_t hwrt

HWRTData in use (geometry and fragment).

uint32_t bif_slot

BIF page-catalogue slot of the task’s memory context.

uint32_t flags

Geometry command flags (first and last kick).

bool keep

Done, but the command stays queued (a FRAG_PR partial render).

enum [anonymous]

Why hwr_recover() was called.

enumerator HWR_REASON_MMU_FAULT = 1

An MMU page fault.

enumerator HWR_REASON_LOCKUP = 2

A data master did not finish in time.