gpu: nova-core: add types for patching firmware binaries
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 19 Jun 2025 13:24:05 +0000 (22:24 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 23 Jun 2025 20:01:01 +0000 (22:01 +0200)
commit436884511d54b8a090fe2886d48f72143ce95b67
tree6abdf54e7e6716a5eef87e27cde2af6290800dd0
parent80213934d00fe09d9dcef3d6f17250be131435aa
gpu: nova-core: add types for patching firmware binaries

Some of the firmwares need to be patched at load-time with a signature.
Add a couple of types and traits that sub-modules can use to implement
this behavior, while ensuring that the correct kind of signature is
applied to the firmware.

Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250619-nova-frts-v6-21-ecf41ef99252@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/firmware.rs