gpu: nova-core: replace `Duration` with `Delta`
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 24 Jun 2025 12:59:19 +0000 (21:59 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Wed, 25 Jun 2025 18:13:32 +0000 (20:13 +0200)
commit4092e1b41202ff39aad75a40a03ac1d318443670
tree7e30fe8bf6d7270edad2e8fed269ea1db0ecfea4
parentd612799de75b0cddbc00e2261355377493d74d45
gpu: nova-core: replace `Duration` with `Delta`

The kernel's `Delta` type was not available when the `wait_on` function
was introduced. Now that it is, switch to it as it is more compact than
`Duration` and cannot panic.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250624-nova-delta-v1-1-b37d75a593ac@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/hal/ga102.rs
drivers/gpu/nova-core/gfw.rs
drivers/gpu/nova-core/util.rs