diff options
| author | Zhi Wang <zhiw@nvidia.com> | 2026-07-22 10:39:11 +0300 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-24 01:15:52 +0200 |
| commit | c0ce158096d4c2e88d270777588bf5ea7cee5f5c (patch) | |
| tree | 936184520c31280f4efb9b147dda89619ac19be8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 29073113cf0044fd05dd0b4318421e91b8de8542 (diff) | |
gpu: nova-core: detect and store vGPU state
GSP boot needs a stable view of vGPU state before it starts building the
boot-time data structures that depend on SR-IOV and firmware policy. That
state must be derived once from the PCI VF count and the FSP PRC vGPU mode
knob before booting GSP.
Add VgpuManager to detect and retain the vGPU state during GPU
construction. Keep the manager separate from the detected state because
later vGPU milestones will add vGPU resources and lifecycle state to it.
Keep the vGPU capability gate local to the vGPU module with per-chip HAL
modules. Treat failures to detect the optional vGPU state as disabled so
they do not prevent a bare-metal probe, and log both the failure and the
detected 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.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
