Transition nova-core to use TLV variables for heap sizes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 2 repliesIn review
- v27 patches 11 repliesSuperseded
- v15 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- various minor fixes from Elliot's review
- added #[allow(dead_code)] to for rust 1.85 compatibility
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | gpu: nova-core: add Tlv.get_u64drivers/ | +14 | 0 replies | |
| 2/7 | gpu: nova-core: read GSP heap variables from TLVdrivers/ drivers/ | +30 | 1 reply | |
| 3/7 | gpu: nova-core: use the TLV heap sizes for pmu and non-wprdrivers/ drivers/ drivers/ +5 more | +31 | 0 replies | |
| 4/7 | gpu: nova-core: remove heap size related HAL functionsdrivers/ drivers/ drivers/ +4 more | +3 | 0 replies | |
| 5/7 | gpu: nova-core: add TLV versions of WPR heap size functionsdrivers/ | +29 | 1 reply | |
| 6/7 | gpu: nova-core: change wpr2_heap_params to use TLV valuesdrivers/ drivers/ drivers/ | +13 | 0 replies | |
| 7/7 | gpu: nova-core: remove LibosParamsdrivers/ | +0 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Eliot Courtney |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] Transition nova-core to use TLV variables for heap sizes
Starting with r615, the GSP-RM firmware TLVs (i.e. gsp.tlv) contain an an additional six variables that that should be used to calculate the various heap sizes that GSP-RM needs in order to boot.
These values are specific to each GPU and RM version, and are obtained by scraping them from the OpenRM source tree.
Note that although this patch set is necessary to support r620 and later, there are other, unrelated changes necessary to complete that support.
This patch set is based on Alex's r000_rebase_all branch:
https://github.com/Gnurou/linux/tree/r000_rebase_all
v3:
- various minor fixes from Elliot's review
- added #[allow(dead_code)] to for rust 1.85 compatibility
Timur Tabi (7):
gpu: nova-core: add Tlv.get_u64
gpu: nova-core: read GSP heap variables from TLV
gpu: nova-core: use the TLV heap sizes for pmu and non-wpr
gpu: nova-core: remove heap size related HAL functions
gpu: nova-core: add TLV versions of WPR heap size functions
gpu: nova-core: change wpr2_heap_params to use TLV values
gpu: nova-core: remove LibosParams
drivers/gpu/nova-core/fb.rs | 40 +++++--- drivers/gpu/nova-core/fb/hal.rs | 6 -- drivers/gpu/nova-core/fb/hal/ga100.rs | 8 -- drivers/gpu/nova-core/fb/hal/ga102.rs | 8 -- drivers/gpu/nova-core/fb/hal/gb100.rs | 41 +------- drivers/gpu/nova-core/fb/hal/gb202.rs | 13 +-- drivers/gpu/nova-core/fb/hal/gh100.rs | 12 +-- drivers/gpu/nova-core/fb/hal/tu102.rs | 16 --- drivers/gpu/nova-core/firmware/gsp.rs | 8 +- drivers/gpu/nova-core/firmware/tlv.rs | 13 +++ drivers/gpu/nova-core/gsp.rs | 4 +- drivers/gpu/nova-core/gsp/fw.rs | 130 ++++++++----------------- drivers/gpu/nova-core/gsp/hal/gh100.rs | 2 +- 13 files changed, 93 insertions(+), 208 deletions(-)
Signature · 1 line
2.54.0