linux/drivers/gpu/nova-core
Alexandre Courbot bb2d007399 gpu: nova-core: gsp: make use of FWSEC bootloader a property of the TU102 HAL
By being in the TU102 HAL, we already know that the GSP boot method is
the SEC2 Booter, so the only variable is whether the FWSEC bootloader is
used or not. Since `Chipset` also includes the variants that boot FSP,
querying it for that information introduces a potential code path (a
chipset that boots via FSP) that the current code doesn't handle.

Turn the use of the FWSEC bootloader into a property of the `Tu102` HAL,
and give GA102+ chipsets their own instance with that property set to
`false`. This removes the invalid code path and the only use of
`Chipset` is now to load the correct firmware files.

This also removes some uses of the `Chipset::needs_fwsec_bootloader`
method and prepares the ground for removing it.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260709-nova-bootcontext-v6-8-520cbf8b9b50@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
2026-07-15 16:00:52 -07:00
..
falcon gpu: nova-core: falcon: store bar and dev in falcon 2026-06-29 21:36:52 +09:00
fb gpu: nova-core: fb: Move PDISP register definition 2026-06-23 15:13:19 +09:00
firmware gpu: nova-core: falcon: store bar and dev in falcon 2026-06-29 21:36:52 +09:00
fsp gpu: nova-core: move lifetime to Bar0 2026-06-03 22:10:51 +02:00
gpu gpu: nova-core: move lifetime to Bar0 2026-06-03 22:10:51 +02:00
gsp gpu: nova-core: gsp: make use of FWSEC bootloader a property of the TU102 HAL 2026-07-15 16:00:52 -07:00
.gitignore gpu: nova-core: export Rust symbols for nova-drm 2026-06-29 11:28:38 +02:00
driver.rs gpu: nova-core: move lifetime to Bar0 2026-06-03 22:10:51 +02:00
falcon.rs gpu: nova-core: falcon: store bar and dev in falcon 2026-06-29 21:36:52 +09:00
fb.rs gpu: nova-core: fb: Move PDISP register definition 2026-06-23 15:13:19 +09:00
firmware.rs gpu: nova-core: vbios: parse structs via zerocopy 2026-06-30 22:40:42 +09:00
fsp.rs gpu: nova-core: fsp: rename FSP response header type 2026-07-08 21:40:07 +09:00
gpu.rs gpu: nova-core: gsp: pass GspBootContext to unload methods 2026-07-15 16:00:52 -07:00
gsp.rs I/O type generalization and projection 2026-07-14 00:01:38 +02:00
Kconfig gpu: nova: Use module names consistently 2026-05-09 23:51:49 +02:00
Makefile gpu: nova: fix rust-analyzer generation 2026-07-03 23:27:39 +02:00
mctp.rs gpu: nova-core: convert to kernel bitfield macro 2026-07-03 10:55:17 +09:00
nova_core_exports.c gpu: nova-core: export Rust symbols for nova-drm 2026-06-29 11:28:38 +02:00
nova_core.rs gpu: nova-core: convert to kernel bitfield macro 2026-07-03 10:55:17 +09:00
num.rs rust: make build_assert module the home of related macros 2026-06-10 09:07:13 +02:00
regs.rs gpu: nova-core: fb: Move PDISP register definition 2026-06-23 15:13:19 +09:00
sbuffer.rs gpu: nova-core: remove imports available via prelude 2026-01-30 02:42:42 +01:00
vbios.rs gpu: nova-core: vbios: parse structs via zerocopy 2026-06-30 22:40:42 +09:00