Thread (97 messages) 97 messages, 7 authors, 2026-04-15

Re: [PATCH v10 03/21] gpu: nova-core: gsp: Expose total physical VRAM end from FB region info

From: Joel Fernandes <joelagnelf@nvidia.com>
Date: 2026-04-06 19:42:51
Also in: amd-gfx, dri-devel, intel-gfx, intel-xe, linux-doc, lkml, rust-for-linux

On Thu, 02 Apr 2026 14:37:52 +0900, Eliot Courtney wrote:
+    /// Compute the end of physical VRAM from all FB regions.
+    pub(crate) fn total_fb_end(&self) -> Option<u64> {
+        self.fb_regions()
+            .map(|reg| reg.limit.saturating_add(1))

I think it would be better to used checked_add here.
Fixed, thanks.

-- 
Joel Fernandes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help