bvnc/36.29.52.182/bvnc.h — Per-GPU constants (BXE-2-32, K1)

Everything in the firmware that depends on the GPU core: the BVNC, the device information of the .fw container (read by tools/mkfw.py) and the hardware values the code uses. make BVNC=<b.v.n.c> selects the header; a GPU without one does not build.

BVNC_36_29_52_182_H

Per-BVNC configuration: PowerVR BXE-2-32 on the SpacemiT K1 (BVNC 36.29.52.182).

Everything that depends on the GPU core lives here, and nowhere else:

  • the BVNC and the .fw file name;

  • the container’s device information (BVNC_FEAT_*, BVNC_QUIRKS, BVNC_ERNS), which tools/mkfw.py reads from this file;

  • the hardware values the firmware code uses.

Source of every value: this GPU’s docsClean (the experiment or question is named where one settled it). There are no defaults: a value missing from another BVNC’s header is a build error, never a value inherited from this GPU (“never guess constants from another Rogue GPU”).

Selected by make BVNC=36.29.52.182 (the default), which passes BVNC_HEADER; fw.h includes it.

BVNC_QUIRKS

Hardware quirks (BRNs) declared to the host, space-separated.

BVNC_ERNS

Enhancements (ERNs) declared to the host.

BVNC_FEAT_ISP_MAX_TILES_IN_FLIGHT

Also the firmware’s cap on ISP_TILES_IN_FLIGHT (0x0FD8) in 3D and transfer kicks.

BVNC_SLC_BYPASS_LO_SET

boot-gpu-init.md section A, step 3: the SLC bypass bits set for a 16 KiB SLC (<= 32 KiB), ORed into SLC_CTRL_BYPASS (0x3828) and its upper word.

BVNC_SLC_BYPASS_HI_SET

Bit ORed into the upper word of SLC_CTRL_BYPASS (0x382C).

BVNC_UNIT_DEFAULTS_1

boot-gpu-init.md section A, step 6: unit defaults before the init-done polls, as { register, value } (broadcast writes, in this order). 0x4050: USC over-allocation of temporaries (no breakpoint over-allocation), 0x06D8: USC over-allocation of shared registers.

BVNC_UNIT_DEFAULTS_2

boot-gpu-init.md step 8: unit defaults after the init-done polls.

BVNC_UNIT_DEFAULTS_3

boot-gpu-init.md step 9: TPU / PBE / ISP / TE defaults, after the TPU filter mode (Q25, E042).

BVNC_UNIT_ZERO_BASE

boot-gpu-init.md step 9: first of a block of 32-bit registers cleared to 0.

BVNC_UNIT_ZERO_COUNT

Number of registers in that block.

TLB_WIRED_PT0

Wired TLB entry: page-table pages 0 and 1.

TLB_WIRED_PT1

Wired TLB entry: page-table pages 2 and 3.

TLB_WIRED_REGS

Wired TLB entry: register bank.

TLB_WIRED_STACK

Wired TLB entry: stack.

TLB_NUM_WIRED

Number of fixed wired entries; the broadcast bank takes the next one.

TLB_NUM_ENTRIES

TLB size.