Re: [RFC 04/29] nvkm/vgpu: set the VF partition count when NVIDIA vGPU is enabled

Jason Gunthorpe
2024-10-15T16:36:01Z

On Tue, Oct 15, 2024 at 03:19:33PM +0000, Zhi Wang wrote:

> The FW needs to pre-calculate the reserved video memory for its own use,
> which includes the size of metadata of max-supported vGPUs. It needs to
> be decided at the FW loading time. We can always set it to the max
> number and the trade-off is we lose some usable video memory, at around
> (549-256)MB so far.

I think that is where you have to end up as we don't really want
probe-time configurables, and consider later updating how the FW works
to make this more optimal.

Jason