Re: [PATCH v9 26/31] gpu: nova-core: make WPR heap sizing fallible

Alexandre Courbot
2026-04-08T01:53:56Z

On Thu Mar 26, 2026 at 10:38 AM JST, John Hubbard wrote:
> Make management_overhead() fail on multiplication or alignment
> overflow instead of silently saturating. Propagate that failure through
> wpr_heap_size() and the framebuffer layout code that consumes it.
>
> This is not Blackwell-specific, so keep it separate from the larger WPR2
> heap change that follows.
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>

This looks completely independent from the series. Staging it for
merging when drm-rust-next reopens as this is clearly correct.