public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] gpu: nova-core: add GA100 support
@ 2026-04-14 23:50 Timur Tabi
  2026-04-14 23:50 ` [PATCH v2 1/6] gpu: nova-core: use correct fwsignature for GA100 Timur Tabi
                   ` (5 more replies)
  0 siblings, 6 replies; 29+ messages in thread
From: Timur Tabi @ 2026-04-14 23:50 UTC (permalink / raw)
  To: Danilo Krummrich, John Hubbard, Joel Fernandes, Eliot Courtney,
	Alexandre Courbot, rust-for-linux

GA100 is an odd GPU.  Architecturally, it's an Ampere.  However, it
uses the same GSP-RM boot process as a Turing.  Its VBIOS, for whatever
reason, has an IFR header that precedes the PCI ROM header and must
be skipped.  In addition, the FRTS window size must be set to 0 just
because it's a GA100.

So add all the missing code that GA100 needs to be supported.  There was
some infrastructure already for GA100 (e.g. the FbHal), but it was
incomplete.

Changes in v2:
1) Created frts_size_tu102()
2) Added bitfields and more macros for IFR header parsing
3) Added code comments for the IFR header
4) Removed language that said that the FRTS region "does not exist",
instead stating that its size is 0.

Timur Tabi (6):
  gpu: nova-core: use correct fwsignature for GA100
  gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header
    signature
  gpu: nova-core: only boot FRTS if its region is allocated
  gpu: nova-core: add FbHal::frts_size() for GA100 support
  gpu: nova-core: skip the IFR header if present
  gpu: nova-core: enable GA100

 drivers/gpu/nova-core/falcon/hal.rs   |  3 +-
 drivers/gpu/nova-core/fb.rs           |  6 +--
 drivers/gpu/nova-core/fb/hal.rs       |  3 ++
 drivers/gpu/nova-core/fb/hal/ga100.rs |  5 ++
 drivers/gpu/nova-core/fb/hal/ga102.rs |  4 ++
 drivers/gpu/nova-core/fb/hal/tu102.rs | 12 ++++-
 drivers/gpu/nova-core/firmware/gsp.rs |  2 +-
 drivers/gpu/nova-core/gsp/boot.rs     |  5 +-
 drivers/gpu/nova-core/vbios.rs        | 69 ++++++++++++++++++++++++++-
 9 files changed, 99 insertions(+), 10 deletions(-)


base-commit: 8884dbc1fd174315b406027375bb7a4b211a8fae
-- 
2.53.0


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2026-04-17  4:10 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 23:50 [PATCH v2 0/6] gpu: nova-core: add GA100 support Timur Tabi
2026-04-14 23:50 ` [PATCH v2 1/6] gpu: nova-core: use correct fwsignature for GA100 Timur Tabi
2026-04-15 13:45   ` Gary Guo
2026-04-15 16:45     ` Timur Tabi
2026-04-15 16:55       ` Gary Guo
2026-04-15 16:58         ` Timur Tabi
2026-04-14 23:50 ` [PATCH v2 2/6] gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signature Timur Tabi
2026-04-14 23:50 ` [PATCH v2 3/6] gpu: nova-core: only boot FRTS if its region is allocated Timur Tabi
2026-04-15  4:33   ` Eliot Courtney
2026-04-14 23:50 ` [PATCH v2 4/6] gpu: nova-core: add FbHal::frts_size() for GA100 support Timur Tabi
2026-04-15  4:36   ` Eliot Courtney
2026-04-15  6:55   ` Alexandre Courbot
2026-04-15 13:48   ` Gary Guo
2026-04-15 13:57     ` Alexandre Courbot
2026-04-15 16:57       ` Gary Guo
2026-04-15 16:59         ` Timur Tabi
2026-04-14 23:50 ` [PATCH v2 5/6] gpu: nova-core: skip the IFR header if present Timur Tabi
2026-04-15  5:23   ` Eliot Courtney
2026-04-15 21:08     ` Timur Tabi
2026-04-16  0:00       ` Timur Tabi
2026-04-17  4:09         ` Alexandre Courbot
2026-04-15  6:54   ` Alexandre Courbot
2026-04-15 13:49   ` Gary Guo
2026-04-15 14:00   ` Alexandre Courbot
2026-04-14 23:50 ` [PATCH v2 6/6] gpu: nova-core: enable GA100 Timur Tabi
2026-04-15 13:51   ` Gary Guo
2026-04-15 16:43     ` Timur Tabi
2026-04-15 16:58       ` Gary Guo
2026-04-15 17:01         ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox