]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: do not import firmware commands into GSP command module
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 20 Apr 2026 09:42:27 +0000 (18:42 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 29 May 2026 06:39:27 +0000 (15:39 +0900)
commit60b8bfabf5fccb7a08906f4c35cffed4683190ed
treea65021dd7863e6bfe73a3720ed71b665d2ccd22f
parent7740837d84b48cecc78a4672ad7f3279f4aac245
gpu: nova-core: do not import firmware commands into GSP command module

Importing all the firmware commands like we did is a bit confusing, as
the layer of a command type (fw or GSP) cannot be inferred from looking
at its name alone. Furthermore it makes it impossible to create commands
that have the same name as their firmware command.

Thus, stop importing all commands and refer to them from the `fw` module
instead.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260521-nova-unload-v6-2-65f581c812c9@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/commands.rs