nova-core: add initial support for gpu timer
Get series with b4
b4 am [email protected] change-id 20261026-drm-rust-next-d81ce0f4ecdfVersions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust/timer: expose as_nanos for clock sources.rust/ | +2 | 5 replies | |
| 2/2 | gpu: nova-core: add support for GPU timer block.drivers/ drivers/ drivers/ +4 more | +231 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Andreas Hindborg | FUJITA Tomonori |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] nova-core: add initial support for gpu timer
The GPU has a timer, one of the pieces of information we need to pass into GSP init later is the timer offset.
This series just adds support for setting up the timer on Turing+, with hals for Turing and Hopper.
Right now it calculates the value to send to GSP but the code to send it will be added later.
For some hardware variants sending a proper value is required for GSP init to succeed.
Dave.
---
Dave Airlie (2):
rust/timer: expose as_nanos for clock sources.
gpu: nova-core: add support for GPU timer block.
drivers/gpu/nova-core/gpu.rs | 5 +++ drivers/gpu/nova-core/nova_core.rs | 1 + drivers/gpu/nova-core/regs.rs | 40 +++++++++++++++++++++ drivers/gpu/nova-core/timer.rs | 37 +++++++++++++++++++ drivers/gpu/nova-core/timer/hal.rs | 32 +++++++++++++++++ drivers/gpu/nova-core/timer/hal/gh100.rs | 61 ++++++++++++++++++++++++++++++++ drivers/gpu/nova-core/timer/hal/tu102.rs | 55 ++++++++++++++++++++++++++++ rust/kernel/time.rs | 3 +- 8 files changed, 233 insertions(+), 1 deletion(-)
---
base-commit: 3497a403264b094ebd61b8b755165d56e7d9dc37
change-id: 20261026-drm-rust-next-d81ce0f4ecdf
Best regards,
Signature · 1 line
Dave Airlie <[email protected]>