NVIDIA GPU driver infrastructure
 help / color / mirror / Atom feed
* [PATCH v3 0/2] nova-core: add initial support for gpu timer (v3)
@ 2026-11-03  0:33 Dave Airlie via B4 Relay
  2026-11-03  0:33 ` [PATCH v3 1/2] rust: time: expose as_nanos for clock sources Dave Airlie via B4 Relay
  2026-11-03  0:33 ` [PATCH v3 2/2] gpu: nova-core: add support for GPU timer block. (v3) Dave Airlie via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Airlie via B4 Relay @ 2026-11-03  0:33 UTC (permalink / raw)
  To: Andreas Hindborg, FUJITA Tomonori, Gary Guo, Alice Ryhl,
	Danilo Krummrich, Daniel Almeida, Alexandre Courbot
  Cc: nova-gpu, dri-devel, 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.

v2 changes on second patch.
v3 fix the WAR to be hopper only (Sashiko)

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
Dave Airlie (2):
      rust: time: expose as_nanos for clock sources.
      gpu: nova-core: add support for GPU timer block. (v3)

 drivers/gpu/nova-core/gpu.rs             |  5 ++
 drivers/gpu/nova-core/nova_core.rs       |  1 +
 drivers/gpu/nova-core/timer.rs           | 33 +++++++++++
 drivers/gpu/nova-core/timer/hal.rs       | 27 +++++++++
 drivers/gpu/nova-core/timer/hal/gh100.rs | 94 ++++++++++++++++++++++++++++++++
 drivers/gpu/nova-core/timer/hal/tu102.rs | 55 +++++++++++++++++++
 drivers/gpu/nova-core/timer/regs.rs      | 64 ++++++++++++++++++++++
 rust/kernel/time.rs                      |  3 +-
 8 files changed, 281 insertions(+), 1 deletion(-)
---
base-commit: 3497a403264b094ebd61b8b755165d56e7d9dc37
change-id: 20261102-nova-timer-f4b9de3274a1

Best regards,
-- 
Dave Airlie <airlied@redhat.com>



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

end of thread, other threads:[~2026-11-03 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03  0:33 [PATCH v3 0/2] nova-core: add initial support for gpu timer (v3) Dave Airlie via B4 Relay
2026-11-03  0:33 ` [PATCH v3 1/2] rust: time: expose as_nanos for clock sources Dave Airlie via B4 Relay
2026-11-03  0:33 ` [PATCH v3 2/2] gpu: nova-core: add support for GPU timer block. (v3) Dave Airlie via B4 Relay
2026-11-03 23:52   ` Danilo Krummrich

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