]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: require `Send` on `FalconEngine` and `FalconHal`
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:12:14 +0000 (23:12 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:17:18 +0000 (23:17 +0900)
commitf0fbbff7e3082b0e1065aef83cc1418ed2cb1b69
tree68a7fdba90a2646c19d26c421cd5e9efd0e1d21f
parent3760401981f18c427cacea41921620806c06c4bd
gpu: nova-core: require `Send` on `FalconEngine` and `FalconHal`

We want to store the GSP and SEC2 falcon instances inside the `Gpu`
structure, but doing so require these types to implement `Send` for
`pci::Driver` to remain implementable on `NovaCore`, which embeds `Gpu`.

All implementors of `FalconEngine` and `FalconHal` satisfy the
requirements of `Send`, and these traits also already required `Sync`,
so this a minor tweak.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250913-nova_firmware-v6-1-9007079548b0@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/hal.rs