]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: move GFW boot wait into a GPU HAL
authorJohn Hubbard <jhubbard@nvidia.com>
Sat, 11 Apr 2026 02:49:31 +0000 (19:49 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Thu, 30 Apr 2026 01:02:55 +0000 (10:02 +0900)
commit8ff326fa0aa19babae405b5fadeaa49b57b9a75f
tree0b1ef98b04a4144687161768f06f4cf973f7edfb
parent46d455853da6aa20ce07a23cb053bcf5a87098eb
gpu: nova-core: move GFW boot wait into a GPU HAL

Introduce a GpuHal trait and per-family dispatch so GPU boot
behavior can vary by architecture. Move wait_gfw_boot_completion()
from the standalone gfw module into gpu/hal/tu102.rs as the first
GpuHal implementation. All architectures currently dispatch to this
implementation, preserving existing behavior.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260411024953.473149-7-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gfw.rs [deleted file]
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/gpu/hal.rs [new file with mode: 0644]
drivers/gpu/nova-core/gpu/hal/tu102.rs [new file with mode: 0644]
drivers/gpu/nova-core/nova_core.rs