Re: [PATCH v4 04/13] gpu: nova-core: gsp: pass GspBootContext to unload methods
"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: > `GspBootContext` contains the resources required to boot the GSP. As it > turns out, this is also the context required for unloading it. > > Reflect that fact by replacing the arguments of `Gsp::unload` and > `UnloadBundle::run` with the `GspBootContext`. This symmetry between > `Gsp::boot` and `Gsp::unload` will also be convenient when we want to > make these methods generic over the boot context corresponding to the > boot method used. > > Signed-off-by: Alexandre Courbot <[email protected]> > --- Reviewed-by: Eliot Courtney <[email protected]>