Re: [PATCH v10 03/21] gpu: nova-core: gsp: Expose total physical VRAM end from FB region info
From: Joel Fernandes
Date: Mon Apr 06 2026 - 15:42:57 EST
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