summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2026-06-17 22:24:44 +0900
committerAlexandre Courbot <acourbot@nvidia.com>2026-06-20 18:09:03 +0900
commitf0c1bb8ead8a9790e7d0339354598b50a9c6789a (patch)
treeb5cd00a7c92c25c933f47cf9e64b312dc2417362 /tools/perf/scripts/python/bin
parentb3e079288bba7a0585a4ceac3a50a32dd712e136 (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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions