Skip to content

gpu: nova-core: add GA100 support

Timur Tabi rust-for-linux 5 versions – Applied

Status from this message: Pushed to `drm-rust-next`, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 14 repliesApplied
  2. v46 patches 1 replySuperseded
  3. v36 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches22 repliesSuperseded
v16 patches13 repliesSuperseded

Changes in v5 from the cover letter

1) Moved IFR registers into vbios.rs
2) Renamed current_offset to vbios_rom_offset
3) Moved IFR constants into vbios_rom_offset
4) Misc other improvements

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/6gpu: nova-core: use correct fwsignature for GA100drivers/gpu/nova-core/firmware/gsp.rs+1 -21 reply
2/6gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signaturedrivers/gpu/nova-core/vbios.rs+1 -11 reply
3/6gpu: nova-core: only boot FRTS if its region is allocateddrivers/gpu/nova-core/gsp/boot.rs+4 -11 reply
4/6gpu: nova-core: add FbHal::frts_size() for GA100 supportdrivers/gpu/nova-core/fb.rs drivers/gpu/nova-core/fb/hal.rs drivers/gpu/nova-core/fb/hal/ga100.rs +2 more+26 -48 replies
5/6gpu: nova-core: skip the IFR header if presentdrivers/gpu/nova-core/vbios.rs+84 -11 reply
6/6gpu: nova-core: enable GA100drivers/gpu/nova-core/falcon/hal.rs+1 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchEliot CourtneyGary Guo
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b A-b
5/6R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/6] gpu: nova-core: add GA100 support

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 v5:
1) Moved IFR registers into vbios.rs
2) Renamed current_offset to vbios_rom_offset
3) Moved IFR constants into vbios_rom_offset
4) Misc other improvements

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   |  2 +-
 drivers/gpu/nova-core/fb.rs           |  6 +-
 drivers/gpu/nova-core/fb/hal.rs       |  3 +
 drivers/gpu/nova-core/fb/hal/ga100.rs |  6 ++
 drivers/gpu/nova-core/fb/hal/ga102.rs |  4 ++
 drivers/gpu/nova-core/fb/hal/tu102.rs | 11 +++-
 drivers/gpu/nova-core/firmware/gsp.rs |  3 +-
 drivers/gpu/nova-core/gsp/boot.rs     |  5 +-
 drivers/gpu/nova-core/vbios.rs        | 87 ++++++++++++++++++++++++++-
 9 files changed, 117 insertions(+), 10 deletions(-)

base-commit: 8884dbc1fd174315b406027375bb7a4b211a8fae

Signature · 1 line
2.53.0