Chapter 43. GSP Firmware

Some GPUs include a GPU System Processor (GSP) which can be used to offload GPU initialization and management tasks. This processor is driven by the gsp_*.bin firmware files under /lib/firmware/nvidia/555.42.02/. Each GSP firmware file is named after a GPU architecture (for example, gsp_tu10x.bin is named after Turing) and supports GPUs from one or more architectures. The GSP firmware is used by default on GPUs which support it.

Offloading tasks which were traditionally performed by the driver on the CPU can improve performance due to lower latency access to GPU hardware internals.

Query Mode

The nvidia-smi utility can be used to query the current use of GSP firmware. It will display a valid version if GSP firmware is enabled, or “N/A” if disabled:

    $ nvidia-smi -q
    ...
       GSP Firmware Version                  : 555.42.02
    ...

This information is also present in the per-GPU information file in the /proc file system.

    $ cat /proc/driver/nvidia/gpus/domain:bus:device.function/information
    ...
       GSP Firmware:    555.42.02

Disabling GSP Mode

The driver can be forced to disable use of GSP firmware by setting the kernel module parameter NVreg_EnableGpuFirmware=0.

Enabling GSP Mode

The GSP firmware will be used by default for all Turing and later GPUs. The driver can be explicitly configured to use the GSP firmware by setting the kernel module parameter NVreg_EnableGpuFirmware=1.