On Mon Jun 29, 2026 at 11:09 PM JST, Alexandre Courbot wrote:
> The `Fsp` instance was only used in the Hopper+ boot path, and
> consequently built locally (and immediately dropped) in it.
>
> This worked well as a temporary measure, but the FSP is a GPU
> sub-device, so its lifetime should match the GPU rather than a single
> boot invocation.
>
> It will also be needed in other parts of the driver, for instance vGPU.
>
> Thus, create the `Fsp` instance in the `Gpu` constructor and store it
> there, passing it to the GSP boot as a mutable reference using
> `GspBootContext`. This makes the `Fsp` available even after the GSP is
> booted.
>
> Signed-off-by: Alexandre Courbot <[email protected]>
> ---

Reviewed-by: Eliot Courtney <[email protected]>

Reply via email to