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

From: Alexandre Courbot

Date: Tue Apr 07 2026 - 21:54:10 EST


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@xxxxxxxxxx>

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