Hopper, Blackwell and later need to reserve more memory than previous GPUs did.
Signed-off-by: John Hubbard <[email protected]> --- 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
