]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: bindings: derive `MaybeZeroable`
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 16 Dec 2025 02:57:09 +0000 (11:57 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 16 Dec 2025 13:04:25 +0000 (22:04 +0900)
commit523317152c4b1b3187d14c65ceacdfc0da451931
tree4dc401d4329a4c96b11cb3dca9febd9a008976aa
parent9d250ab0cf80deb11148efe862d1184ebf5115f6
gpu: nova-core: bindings: derive `MaybeZeroable`

Commit 4846300ba8f9 ("rust: derive `Zeroable` for all structs & unions
generated by bindgen where possible") automatically derives
`MaybeZeroable` for all bindings. This is better than selectively
deriving `Zeroable` as it ensures all types that can implement
`Zeroable` do.

Regenerate the nova-core bindings so they benefit from this, and remove
a now unneeded implementation of `Zeroable`.

Fixes: 75f6b1de8133 ("gpu: nova-core: gsp: Add GSP command queue bindings and handling")
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20251216-nova-fixes-v3-3-c7469a71f7c4@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/fw.rs
drivers/gpu/nova-core/gsp/fw/r570_144.rs
drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs