Re: [PATCH v4 02/32] gpu: nova-core: gsp: pass boot context through setup helpers
From: Alexandre Courbot
Date: Tue Nov 10 2026 - 23:28:28 EST
On Fri Nov 6, 2026 at 2:39 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>
Makes sense as the GSP HAL methods already take `GspBootContext` anyway.
Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
(I would have merged it directly, but this depends on the r000 series so
marking as reviewed for now)