Re: [PATCH v4 11/13] gpu: nova-core: gsp: pass GspBootContext mutably

"Eliot Courtney" <[email protected]>
Newsgroups dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Mon Jun 29, 2026 at 11:09 PM JST, Alexandre Courbot wrote:
> We want to move the `Fsp` instance into `Gpu`, which will require
> passing it as a mutable reference in `GspBootContext`, since
> `Fsp::boot_fmc` is a mutable method. In order to use the mutable
> references it contains, `GspBootContext` must also be mutable.
>
> We will also follow up by making some methods of the `Falcon`s mutable,
> which also requires passing them as mutable references.
>
> Thus, make the `GspBootContext` passed to `Gsp::boot` and `Gsp::unload`
> mutable, and pass mutable references to it to the GSP boot HAL methods.
>
> Signed-off-by: Alexandre Courbot <[email protected]>
> ---

Reviewed-by: Eliot Courtney <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.