]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: add FalconUCodeDescV2 support
authorTimur Tabi <ttabi@nvidia.com>
Thu, 22 Jan 2026 22:28:45 +0000 (16:28 -0600)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 24 Jan 2026 01:48:59 +0000 (10:48 +0900)
commitdbfb5aa41f16484e5a5971571739e7ae80f5e32c
tree1a26ea96efa9ae489dba4552f7ebd37f9784e454
parentab2aad252fe21347674cf969a5e9d44d69e403bb
gpu: nova-core: add FalconUCodeDescV2 support

The FRTS firmware in Turing and GA100 VBIOS has an older header
format (v2 instead of v3).  To support both v2 and v3 at runtime,
add the FalconUCodeDescV2 struct, and update code that references
the FalconUCodeDescV3 directly with a FalconUCodeDesc enum that
encapsulates both.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260122222848.2555890-11-ttabi@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/firmware.rs
drivers/gpu/nova-core/firmware/fwsec.rs
drivers/gpu/nova-core/vbios.rs