gpu: nova-core: detect and store vGPU stateGSP boot needs a stable view of vGPU state before it starts building theboot-time data structures that depend on SR-IOV and firmware policy. Thatstate m
gpu: nova-core: detect and store vGPU stateGSP boot needs a stable view of vGPU state before it starts building theboot-time data structures that depend on SR-IOV and firmware policy. Thatstate must be derived once from the PCI VF count and the FSP PRC vGPU modeknob before booting GSP.Add VgpuManager to detect and retain the vGPU state during GPUconstruction. Keep the manager separate from the detected state becauselater vGPU milestones will add vGPU resources and lifecycle state to it.Keep the vGPU capability gate local to the vGPU module with per-chip HALmodules. Treat failures to detect the optional vGPU state as disabled sothey do not prevent a bare-metal probe, and log both the failure and thedetected state where the manager is constructed.Cc: Alexandre Courbot <acourbot@nvidia.com>Signed-off-by: Zhi Wang <zhiw@nvidia.com>Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>Link: https://patch.msgid.link/20260722073913.1807677-5-zhiw@nvidia.comSigned-off-by: Danilo Krummrich <dakr@kernel.org>
show more ...