diff options
| author | 2026-06-17 22:24:44 +0900 | |
|---|---|---|
| committer | 2026-06-20 18:09:03 +0900 | |
| commit | f0c1bb8ead8a9790e7d0339354598b50a9c6789a (patch) | |
| tree | b5cd00a7c92c25c933f47cf9e64b312dc2417362 /scripts/Makefile.thinlto | |
| parent | gpu: nova-core: move GSP unload state to a pinned Gpu subobject (diff) | |
gpu: nova-core: move GPU static information acquisition to a GSP method
The GSP static information is useful during regular driver runtime;
however it is currently obtained from `Gsp::boot`, with no elegant way
to pass it back to the caller.
Solve this by moving the code acquiring it to a dedicated method of
`Gsp` that can be called as soon as the `Gsp` is booted. This allows us
to obtain and display the static information from the `Gpu` constructor,
and to store the static information for later use.
Its location at the end of `Gsp::boot` was a bit out-of-place anyway:
technically, the GSP is considered booted after we have received the
`GspInitDone` message, so anything that happens afterwards is not part
of the boot sequence anymore.
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260617-boot-vram-v3-2-20b9ec5fe9f2@nvidia.com
[acourbot: add documentation to `get_static_info` method.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
