[PATCH 18/31] gpu: nova-core: Hopper/Blackwell: add needs_large_reserved_mem()
From: John Hubbard
Date: Wed Dec 03 2025 - 01:04:14 EST
Hopper, Blackwell and later need to reserve more memory than previous
GPUs did.
Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
---
drivers/gpu/nova-core/gpu.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs
index 624bbc2a54e8..c0473ef8ac47 100644
--- a/drivers/gpu/nova-core/gpu.rs
+++ b/drivers/gpu/nova-core/gpu.rs
@@ -123,6 +123,11 @@ pub(crate) const fn arch(&self) -> Architecture {
| Self::GB207 => Architecture::Blackwell,
}
}
+
+ #[expect(dead_code)]
+ pub(crate) fn needs_large_reserved_mem(&self) -> bool {
+ matches!(self.arch(), Architecture::Hopper | Architecture::Blackwell)
+ }
}
// TODO
--
2.52.0