Re: [PATCH 1/1] gpu: nova-core: populate GSP_VF_INFO when vGPU is enabled
From: Danilo Krummrich
Date: Thu Jul 30 2026 - 17:29:09 EST
On Thu Jul 30, 2026 at 8:14 PM CEST, Zhi Wang wrote:
> Register GpuacctPerfmonUtilSamples in MsgFunction so the receive path
> recognizes vGPU perfmon sampling events from GSP-RM.
Listing something additional in the commit message usually indicates a separate
patch, but I think in this case it is fine as is.
> +/// Builds the VF topology passed to GSP-RM as part of the system information.
> +fn build_vf_info(
> + dev: &pci::Device<device::Bound>,
> + vgpu_state: VgpuState,
> +) -> Result<bindings::GSP_VF_INFO> {
I'd make this an associated function of GspSetSystemInfo; it solely serves that
struct's construction, as your own comment already states. :)