Documentation/gpu/amdgpu/flashing.rst
Flashing the dGPU integrated firmware image (IFWI) is supported by GPUs that
use the PSP to orchestrate the update (Navi3x or newer GPUs).
For supported GPUs, amdgpu will export a series of sysfs files that can be
used for the flash process.
The IFWI flash process is:
psp_vbflash. This will stage the IFWI in memory.psp_vbflash sysfs file to initiate the flash process.psp_vbflash_status sysfs file to determine when the flash process completes.On GPUs that support flashing an updated USB-C PD firmware image, the process
is done using the usbc_pd_fw sysfs file.
/lib/firmware/amdgpu to the sysfs file will initiate the flash process.The firmware payload stored in /lib/firmware/amdgpu can be named any name
as long as it doesn't conflict with other existing binaries that are used by
amdgpu.
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c