]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: gsp: Retrieve GSP static info to gather GPU information
authorAlistair Popple <apopple@nvidia.com>
Fri, 14 Nov 2025 19:55:52 +0000 (14:55 -0500)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 15 Nov 2025 12:54:18 +0000 (21:54 +0900)
commit13f85988d4fa31bda73a9504d71b10f7a14f1856
tree5eb98bfad3afdd73bb9cd0c0cebd1ab6a4c74b53
parent0e7d572b4baa64c582dafc4af36cfc8a4c3c1252
gpu: nova-core: gsp: Retrieve GSP static info to gather GPU information

After GSP initialization is complete, retrieve the static configuration
information from GSP-RM. This information includes GPU name, capabilities,
memory configuration, and other properties. On some GPU variants, it is
also required to do this for initialization to complete.

Signed-off-by: Alistair Popple <apopple@nvidia.com>
Co-developed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
[acourbot@nvidia.com: properly abstract the command's bindings, add
relevant methods, make str_from_null_terminated return an Option, fix
size of GPU name array.]
Co-developed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251114195552.739371-14-joelagnelf@nvidia.com>
drivers/gpu/nova-core/gsp/boot.rs
drivers/gpu/nova-core/gsp/commands.rs
drivers/gpu/nova-core/gsp/fw/commands.rs
drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs
drivers/gpu/nova-core/nova_core.rs
drivers/gpu/nova-core/util.rs [new file with mode: 0644]