gpu: nova-core: add GA100 support
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
- v5 Latest6 patches 14 repliesApplied
- v46 patches 1 replySuperseded
- v36 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 6 patches | 22 replies | Superseded | |
| v1 | 6 patches | 13 replies | Superseded |
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | gpu: nova-core: use correct fwsignature for GA100drivers/ | +1 | 1 reply | |
| 2/6 | gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signaturedrivers/ | +1 | 1 reply | |
| 3/6 | gpu: nova-core: only boot FRTS if its region is allocateddrivers/ | +4 | 1 reply | |
| 4/6 | gpu: nova-core: add FbHal::frts_size() for GA100 supportdrivers/ drivers/ drivers/ +2 more | +26 | 8 replies | |
| 5/6 | gpu: nova-core: skip the IFR header if presentdrivers/ | +84 | 1 reply | |
| 6/6 | gpu: nova-core: enable GA100drivers/ | +1 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Eliot Courtney | Gary Guo |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | R-b |
| 3/6 | R-b | R-b |
| 4/6 | R-b | A-b |
| 5/6 | R-b | |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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