NVIDIA GPU driver infrastructure
 help / color / mirror / Atom feed
* [PATCH 0/2] nova-core: add initial support for gpu timer
@ 2026-10-26  2:56 Dave Airlie via B4 Relay
  2026-10-26  2:56 ` [PATCH 1/2] rust/timer: expose as_nanos for clock sources Dave Airlie via B4 Relay
  2026-10-26  2:56 ` [PATCH 2/2] gpu: nova-core: add support for GPU timer block Dave Airlie via B4 Relay
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Airlie via B4 Relay @ 2026-10-26  2:56 UTC (permalink / raw)
  To: Andreas Hindborg, Boqun Feng, FUJITA Tomonori, Lyude Paul,
	Gary Guo, Danilo Krummrich, Alexandre Courbot
  Cc: rust-for-linux, nova-gpu, Dave Airlie

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,
-- 
Dave Airlie <airlied@redhat.com>



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26  2:56 [PATCH 0/2] nova-core: add initial support for gpu timer Dave Airlie via B4 Relay
2026-10-26  2:56 ` [PATCH 1/2] rust/timer: expose as_nanos for clock sources Dave Airlie via B4 Relay
2026-10-26 10:09   ` Andreas Hindborg
2026-10-26 19:04   ` Danilo Krummrich
2026-10-26  2:56 ` [PATCH 2/2] gpu: nova-core: add support for GPU timer block Dave Airlie via B4 Relay
2026-10-26  9:07   ` sashiko-bot
2026-10-26 12:33   ` Danilo Krummrich

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