diff options
| author | 2026-07-09 15:53:04 +0900 | |
|---|---|---|
| committer | 2026-07-15 16:00:52 -0700 | |
| commit | 43f890d85c03ced99b5ecad5877fb654f0a3f4c4 (patch) | |
| tree | b2feb94fa73248a80bbc576bf3c3c89cb4915d02 /scripts/Makefile.thinlto | |
| parent | gpu: nova-core: avoid repeated calls to pci::Device::as_ref (diff) | |
gpu: nova-core: gsp: pass GspBootContext mutably
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.
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260709-nova-bootcontext-v6-11-520cbf8b9b50@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
