Re: [PATCH v5 02/35] gpu: nova-core: gsp: pass boot context through setup helpers

From: Eliot Courtney

Date: Tue Dec 01 2026 - 01:04:30 EST


On Tue Nov 24, 2026 at 10:58 PM JST, Alok Kumar wrote:
> From: Zhi Wang <zhiw@xxxxxxxxxx>
>
> The GSP boot paths pass the device, chipset, BAR and vGPU state to the
> VRAM layout and GSP_INIT helpers as separate arguments. These values
> are already available in GspBootContext, and some are forwarded again
> to the WPR2 heap and VF topology helpers.
>
> Pass the boot context through these helpers so each can read the fields
> it needs. This simplifies the helper signatures and their call sites.
>
> No functional change is intended.
>
> Cc: Alexandre Courbot <acourbot@xxxxxxxxxx>
> Signed-off-by: Zhi Wang <zhiw@xxxxxxxxxx>
> Signed-off-by: Alok Kumar <alkumar@xxxxxxxxxx>
> ---

Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>